summaryrefslogtreecommitdiffstats
path: root/src/util/testdb.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-25 04:46:42 +0100
committerDan McGee <dan@archlinux.org>2011-01-25 04:46:42 +0100
commitfe76c353af6d91ce9f225dc2b0195a689f6790da (patch)
treee480604972f29822e8652883b8d97be4e2b113e0 /src/util/testdb.c
parent0f24390fe8967f25d7fce4665d5b635fa66a3c4f (diff)
downloadpacman-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 'src/util/testdb.c')
0 files changed, 0 insertions, 0 deletions