diff options
Diffstat (limited to 'src/gdbmshell.c')
-rw-r--r-- | src/gdbmshell.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gdbmshell.c b/src/gdbmshell.c index 0b3b7f0..45e3f9f 100644 --- a/src/gdbmshell.c +++ b/src/gdbmshell.c @@ -3084,6 +3084,7 @@ run_command (struct command *cmd, struct gdbmarglist *arglist) break; case GDBMSHELL_GDBM_ERR: + gdbmarglist_free (arglist); if (variable_has_errno ("errorexit", gdbm_errno)) rc = 1; else @@ -3091,6 +3092,7 @@ run_command (struct command *cmd, struct gdbmarglist *arglist) break; default: + gdbmarglist_free (arglist); rc = 0; } |