diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-04-28 22:31:29 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-04-28 22:31:29 (EDT) |
commit | e1e5a3e65f3ca4e1172f640456d6dd7060e200c8 (patch) | |
tree | aa5382dee7e50d9264cfd411dfc3796c03c0df64 /src | |
parent | 908a120ddd2ef753a8d9b7a9781e74fff1ca18dc (diff) |
main: Free opk on -h and -V
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -193,9 +193,11 @@ main(int argc, char *argv[]) break; case 'h': _help(program_name); + opkg_opk_opk_free(opk); return EXIT_SUCCESS; case 'V': _version(); + opkg_opk_opk_free(opk); return EXIT_SUCCESS; default: fprintf(stderr, _("%s: Invalid option: " |