diff options
Diffstat (limited to 'cli/src/cli-cmd-parser.c')
-rw-r--r-- | cli/src/cli-cmd-parser.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index 1381e0fec..e7ebd2a36 100644 --- a/cli/src/cli-cmd-parser.c +++ b/cli/src/cli-cmd-parser.c @@ -285,6 +285,9 @@ out: if (trans_type) GF_FREE (trans_type); + if (tmp_list) + free (tmp_list); + return ret; } @@ -585,6 +588,8 @@ out: if (dict) dict_destroy (dict); } + if (tmp_list) + free (tmp_list); return ret; } |