index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2006-02-01 06:40:53 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-02-01 06:40:53 +0000 |
commit | 173d18f3f8171122318a817d4c3e53c2f1a06ece (patch) | |
tree | c8a19a6bbed98955e3bebdb3ba9ddb30cb33ae34 /lib/libalpm/alpm.c | |
parent | 1042f1e7ceb0f1df79cc981656eef5fb4dbc4009 (diff) |
-rw-r--r-- | lib/libalpm/alpm.c | 5 |
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index c3f55df1..f462d38e 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -93,6 +93,11 @@ int alpm_release() ASSERT(handle != NULL, RET_ERR(PM_ERR_HANDLE_NULL, -1)); + /* free the transaction if there is any */ + if(handle->trans) { + alpm_trans_release(); + } + /* close local database */ if(handle->db_local) { db_close(handle->db_local); |