Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-07 23:26:28 -0500
committerDan McGee <dan@archlinux.org>2011-06-08 02:48:43 -0500
commit2668782db282130bc1f845173228371d3447e4a2 (patch)
tree40c2a090d8ac7f7b79445b4bce184583a6b0d5d8 /lib/libalpm
parent8c6a636cd970c19e7a79bb17c484b28454da877d (diff)
Plug a memory leak
Introduced by me in commit cc25576f8b54b3. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/be_sync.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c
index aeba86f1..0c50c424 100644
--- a/lib/libalpm/be_sync.c
+++ b/lib/libalpm/be_sync.c
@@ -498,6 +498,7 @@ static int sync_db_read(pmdb_t *db, struct archive *archive,
_alpm_log(PM_LOG_DEBUG, "unknown database file: %s\n", filename);
}
+ FREE(pkgname);
return 0;
error: