diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-09-18 13:05:49 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-09-21 09:51:29 +0300 |
commit | 4c12b61b34ad8da1927c25805277e8e2f90c1b80 (patch) | |
tree | 6c87e80ebce70e23e7e09e208c42897090f53bb9 /lib/backend | |
parent | 37390dffe42360f5f34ef86bd7296d029c16adb7 (diff) | |
download | rpm-4c12b61b34ad8da1927c25805277e8e2f90c1b80.tar.gz rpm-4c12b61b34ad8da1927c25805277e8e2f90c1b80.tar.bz2 rpm-4c12b61b34ad8da1927c25805277e8e2f90c1b80.zip |
Use db3Free() for on sqlite backend close too
Diffstat (limited to 'lib/backend')
-rw-r--r-- | lib/backend/sqlite.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/backend/sqlite.c b/lib/backend/sqlite.c index ce8a72203..742cabc18 100644 --- a/lib/backend/sqlite.c +++ b/lib/backend/sqlite.c @@ -772,15 +772,10 @@ enterChroot(dbi); rpmlog(RPMLOG_DEBUG, "closed sql db %s\n", dbi->dbi_subfile); - dbi->dbi_stats = _free(dbi->dbi_stats); - dbi->dbi_file = _free(dbi->dbi_file); - dbi->dbi_subfile = _free(dbi->dbi_subfile); - dbi->dbi_db = _free(dbi->dbi_db); - leaveChroot(dbi); } - dbi = _free(dbi); + dbi = db3Free(dbi); return rc; } |