diff options
Diffstat (limited to 'gdb/solib.c')
-rw-r--r-- | gdb/solib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/solib.c b/gdb/solib.c index a9f46e00099..94f8f13422e 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -254,6 +254,7 @@ solib_find (char *in_pathname, int *fd) if (remote_filename_p (temp_pathname)) { *fd = -1; + do_cleanups (old_chain); return temp_pathname; } |