mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
Plug a memory leak
Introduced by me in commit cc25576f8b
.
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
8c6a636cd9
commit
2668782db2
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user