From: Marco van Wieringen Date: Fri, 26 Mar 2010 21:01:58 +0000 (+0100) Subject: Add missing db_unlock to bvfs_update_cache. X-Git-Tag: Release-5.2.1~1571 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0490918f380aa0b72d2862e091343e488d893e78;p=bacula%2Fbacula Add missing db_unlock to bvfs_update_cache. --- diff --git a/bacula/src/cats/bvfs.c b/bacula/src/cats/bvfs.c index 20a4578270..ef3fad5c4d 100644 --- a/bacula/src/cats/bvfs.c +++ b/bacula/src/cats/bvfs.c @@ -437,6 +437,7 @@ void bvfs_update_cache(JCR *jcr, B_DB *mdb) Dmsg1(dbglevel, "Affected row(s) = %d\n", nb); db_end_transaction(jcr, mdb); + db_unlock(mdb); } /*