diff options
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 96a11642d12..f2d37087666 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -219,6 +219,8 @@ focus_command (char *spec, int from_tty) return; } + if (current_itset) + xfree (current_itset); current_itset = itset; /* For now, set a current exec from the first element of the focus |