diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-07 23:26:28 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-08 02:48:43 -0500 |
commit | 2668782db282130bc1f845173228371d3447e4a2 (patch) | |
tree | 40c2a090d8ac7f7b79445b4bce184583a6b0d5d8 /lib/libalpm | |
parent | 8c6a636cd970c19e7a79bb17c484b28454da877d (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.c | 1 |
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: |