diff options
-rw-r--r-- | src/argparser.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/argparser.c b/src/argparser.c index e507986..122aa68 100644 --- a/src/argparser.c +++ b/src/argparser.c @@ -192,6 +192,8 @@ void args_dispose() if (args_optmap.keys != null) free(map_free(&args_optmap)); + else + free(args_optmap.data); if (args_opts.keys != null) { @@ -201,6 +203,8 @@ void args_dispose() free(*(freethis + i++)); free(freethis); } + else + free(args_opts.data); } |