aboutsummaryrefslogtreecommitdiffstats
path: root/src/apk.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2019-12-13 15:22:33 +0200
committerTimo Teräs <timo.teras@iki.fi>2020-02-28 23:18:52 +0200
commit9530fbfa044bedf5821ff5ffffb7d4f3994f603f (patch)
treea54a0dcc1eff93429c822fcb89dfaccb73ab6285 /src/apk.c
parentc054fbc11e9beca0d45285c3e1f448c81416c5ce (diff)
downloadapk-tools-v3.0-wip.tar.bz2
apk-tools-v3.0-wip.tar.xz
adb: introduce apk-tools database format, and few appletsv3.0-wip
This is a flat buffers inspired format that allows fast mmaped access to the data with low overhead, signature support and relatively good forward support.
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 68050cd..cd44bd6 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;