lib/package_unpack.c: fix a double free.
This commit is contained in:
parent
010e5df415
commit
571d8748b4
@ -605,7 +605,6 @@ unpack_archive(struct xbps_handle *xhp,
|
|||||||
xbps_object_release(obj);
|
xbps_object_release(obj);
|
||||||
}
|
}
|
||||||
xbps_object_release(old_filesd);
|
xbps_object_release(old_filesd);
|
||||||
xbps_object_release(obsoletes);
|
|
||||||
|
|
||||||
out:
|
out:
|
||||||
if (xbps_object_type(filesd) == XBPS_TYPE_DICTIONARY)
|
if (xbps_object_type(filesd) == XBPS_TYPE_DICTIONARY)
|
||||||
|
Loading…
Reference in New Issue
Block a user