diff options
Diffstat (limited to 'src/package.c')
-rw-r--r-- | src/package.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/package.c b/src/package.c index 8a87b14..875c001 100644 --- a/src/package.c +++ b/src/package.c @@ -380,6 +380,8 @@ void apk_pkg_free(struct apk_package *pkg) hlist_for_each_entry_safe(script, c, n, &pkg->scripts, script_list) free(script); + if (pkg->depends) + free(pkg->depends); if (pkg->version) free(pkg->version); if (pkg->url) |