aboutsummaryrefslogtreecommitdiff
path: root/gdb/findcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/findcmd.c')
-rw-r--r--gdb/findcmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/findcmd.c b/gdb/findcmd.c
index c21c028..0255613 100644
--- a/gdb/findcmd.c
+++ b/gdb/findcmd.c
@@ -132,6 +132,7 @@ parse_find_args (char *args, ULONGEST *max_countp,
len = value_as_long (v);
if (len == 0)
{
+ do_cleanups (old_cleanups);
printf_filtered (_("Empty search range.\n"));
return;
}