aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index f5458ef..803b73c 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -2670,6 +2670,7 @@ find_overload_match (struct type **arg_types, int nargs,
if (func_name == NULL)
{
*symp = fsym;
+ do_cleanups (all_cleanups);
return 0;
}