From cf43597e7400054f9ec4d85c8bd0d5424d02f06e Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sun, 25 Sep 2016 21:47:58 +0200 Subject: [PATCH] lib/package_unpack.c: add memleak notice --- lib/package_unpack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/package_unpack.c b/lib/package_unpack.c index e99bfec4..23d48fb3 100644 --- a/lib/package_unpack.c +++ b/lib/package_unpack.c @@ -505,6 +505,7 @@ unpack_archive(struct xbps_handle *xhp, 0, pkgver, "%s: removed obsolete entry: %s", pkgver, file); xbps_object_release(obj); } + /* XXX: cant free obsoletes here, need to copy values before */ xbps_object_release(pkg_filesd); out: /*