Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc/footer.txt
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-02-29 16:33:21 -0600
committerDan McGee <dan@archlinux.org>2012-03-05 11:44:34 -0600
commit4b384b7f0b0e840e09e3bffd2dbb59b88bdd4864 (patch)
tree4f54602267e83c2f5a75b4bdb165b8bafd08cb3a /doc/footer.txt
parentd1151b5ab9c407732ded462a0fe0259dea8dcc2a (diff)
Fix a memory leak when loading an invalid package
This is easily triggered via a `pacman -Sc` operation when it attempts to open a delta file as a package- we end up leaking loads of memory due to us never freeing the archive object. When you have upwards of 1200 delta files in your sync database directory, this results in a memory leak of nearly 1.5 MiB. Also fix another memory leak noticed at the same time- we need to call the internal _alpm_pkg_free() function, as without the origin data being set the public free function will do nothing. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc/footer.txt')
0 files changed, 0 insertions, 0 deletions