Plug a memory leak

Introduced by me in commit cc25576f8b.

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2011-06-07 23:26:28 -05:00
parent 8c6a636cd9
commit 2668782db2
1 changed files with 1 additions and 0 deletions

View File

@ -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: