diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2006-01-02 13:19:22 +0100 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-01-02 13:19:22 +0100 |
commit | ee5625ae674b2ea16b81bd3e6afa16f2b4fa5872 (patch) | |
tree | de5547b6ef4acf7fa6f4848db988554daaad8400 /lib/libalpm/add.c | |
parent | 07a38db48da691cc59da3e5c6d8c218aa42fb7c2 (diff) | |
download | pacman-ee5625ae674b2ea16b81bd3e6afa16f2b4fa5872.tar.gz pacman-ee5625ae674b2ea16b81bd3e6afa16f2b4fa5872.tar.xz |
fixed a possible memory leak
Diffstat (limited to 'lib/libalpm/add.c')
-rw-r--r-- | lib/libalpm/add.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index a7432483..ea6cf6b3 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -273,6 +273,7 @@ int add_prepare(pmtrans_t *trans, pmdb_t *db, PMList **data) lp = db_find_conflicts(db, trans->packages, handle->root, &skiplist); if(lp != NULL) { *data = lp; + FREELIST(skiplist); RET_ERR(PM_ERR_FILE_CONFLICTS, -1); } |