away the volume_list lock which is used in free_volume_list().
Detected by: Dan Langille - who noticed bacula-sd.core files
Fixed by: Eric Bollengier - who read the backtrace...
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5537
91ce42f0-d328-0410-95d8-
f526ca767f89
if (debug_level > 10) {
print_memory_pool_stats();
}
- term_reservations_lock();
term_msg();
cleanup_crypto();
free_volume_list();
+ term_reservations_lock();
close_memory_pool();
sm_dump(false); /* dump orphaned buffers */