diff options
author | Dan McGee <dan@archlinux.org> | 2011-01-25 04:46:42 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-01-25 04:46:42 +0100 |
commit | fe76c353af6d91ce9f225dc2b0195a689f6790da (patch) | |
tree | e480604972f29822e8652883b8d97be4e2b113e0 /lib/libalpm/db.h | |
parent | 0f24390fe8967f25d7fce4665d5b635fa66a3c4f (diff) | |
download | pacman-fe76c353af6d91ce9f225dc2b0195a689f6790da.tar.gz pacman-fe76c353af6d91ce9f225dc2b0195a689f6790da.tar.xz |
Fix memory leak and error code in DB reading
We were returning a package error code rather than a DB one, and we
would leak the archive memory if the database file didn't exist.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.h')
0 files changed, 0 insertions, 0 deletions