bareos2015: bareos-12.4 7ccab8a4

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen bareos-12.4 2013-05-04 15:14 bareos-12.4 df363abd 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