From 2668782db282130bc1f845173228371d3447e4a2 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 7 Jun 2011 23:26:28 -0500 Subject: Plug a memory leak Introduced by me in commit cc25576f8b54b3. Signed-off-by: Dan McGee --- lib/libalpm/be_sync.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libalpm/be_sync.c') 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: -- cgit v1.2.3