aboutsummaryrefslogtreecommitdiffstats
path: root/src/apk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/apk.c')
-rw-r--r--src/apk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/apk.c b/src/apk.c
index 68050cdf42..cd44bd60b2 100644
--- a/src/apk.c
+++ b/src/apk.c
@@ -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);
apk_atom_init();
umask(0);
setup_terminal();
@@ -617,6 +618,7 @@ err:
fetchConnectionCacheClose();
apk_string_array_free(&args);
+ apk_string_array_free(&dbopts.private_keys);
free(apk_argv);
if (r < 0) r = 250;