summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 3338fcc..bd4cb6f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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: "