From: Kern Sibbald Date: Sat, 19 Jun 2010 06:23:35 +0000 (+0200) Subject: Fix crash from rw_lock/unlock miss match X-Git-Tag: Release-5.0.3~152 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2e6abbc598a6e885280c8f59acc4c6f0ac95dbe3;p=bacula%2Fbacula Fix crash from rw_lock/unlock miss match --- diff --git a/bacula/src/stored/mount.c b/bacula/src/stored/mount.c index 1a2c38cfc8..85a8b7a6cb 100644 --- a/bacula/src/stored/mount.c +++ b/bacula/src/stored/mount.c @@ -116,7 +116,7 @@ mount_next_vol: // lock_volumes(); if (!find_a_volume()) { - goto no_lock_bail_out; + goto bail_out; } if (job_canceled(jcr)) {