projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix stale cleanup left by linux_mntns_access_fs
[deliverable/binutils-gdb.git]
/
gdb
/
nat
/
linux-namespaces.c
diff --git
a/gdb/nat/linux-namespaces.c
b/gdb/nat/linux-namespaces.c
index fd0d4b05ec49daf4ea599e92f4355232dae2cbda..434142936e2f236066d61cb60f2837e59be84e41 100644
(file)
--- a/
gdb/nat/linux-namespaces.c
+++ b/
gdb/nat/linux-namespaces.c
@@
-894,7
+894,7
@@
linux_mntns_access_fs (pid_t pid)
if (fd < 0)
goto error;
-
old_chain =
make_cleanup_close (fd);
+ make_cleanup_close (fd);
if (fstat (fd, &sb) != 0)
goto error;
This page took
0.023056 seconds
and
4
git commands to generate.