bareos2015: bareos-13.2 8b1e79cd

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen bareos-13.2 2013-05-04 23:07 bareos-13.2 cd21e978 Pending
Affected Issues  0000091: btape crashes after quit command
Changeset Fix btape crash on quit.

- Instead of freeing the config before tearing down the whole
  setup only do it when we are really done with the config and
  just before we are about to exit the program.
- don't allocate jcr->comment in butil.c as the setup_jcr function
  already calls new_jcr which also allocated this member and as such
  the memory is leaked and smartalloc complains on exit.

Fixed 0000091: btape crashes after quit command
mod - src/stored/btape.c Diff File
mod - src/stored/butil.c Diff File