diff options
author | Dan McGee <dan@archlinux.org> | 2011-03-29 19:21:07 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-29 19:21:07 +0200 |
commit | d3d18a42d2a12f65c51dec34608921cec7b42068 (patch) | |
tree | c723c6a943e32fd5fabfddf9d671014f9e65b961 /lib/libalpm/db.c | |
parent | 9477abc3591905a20acbfe7b8ce7832617d72701 (diff) | |
parent | 287e8d356e8be8ae4af00e34e25d3f6727945952 (diff) | |
download | pacman-d3d18a42d2a12f65c51dec34608921cec7b42068.tar.gz pacman-d3d18a42d2a12f65c51dec34608921cec7b42068.tar.xz |
Merge branch 'maint'
Diffstat (limited to 'lib/libalpm/db.c')
-rw-r--r-- | lib/libalpm/db.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index 55b711fb..cc01bbf4 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -90,10 +90,7 @@ int SYMEXPORT alpm_db_unregister_all(void) /* Do not unregister a database if a transaction is on-going */ ASSERT(handle->trans == NULL, RET_ERR(PM_ERR_TRANS_NOT_NULL, -1)); - /* since the local DB is registered in alpm_initialize(), we'll be - * symmetrical and let the cleanup occur in alpm_release() */ - - /* and also sync ones */ + /* unregister all sync dbs */ for(i = handle->dbs_sync; i; i = i->next) { db = i->data; db->ops->unregister(db); |