diff options
Diffstat (limited to 'src/apk.c')
-rw-r--r-- | src/apk.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -478,6 +478,7 @@ int main(int argc, char **argv) memset(&dbopts, 0, sizeof(dbopts)); list_init(&dbopts.repository_list); + apk_string_array_init(&dbopts.private_keys); umask(0); setup_terminal(); @@ -575,6 +576,7 @@ err: fetchConnectionCacheClose(); apk_string_array_free(&args); + apk_string_array_free(&dbopts.private_keys); free(apk_argv); if (r < 0) r = 250; |