]> git.ipfire.org Git - thirdparty/bacula.git/commit
Add missing jcr's reference counter decrement in bscan.
authorMichal Rakowski <michal.rakowski@baculasystems.com>
Thu, 5 Nov 2020 12:57:21 +0000 (13:57 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:02:58 +0000 (09:02 +0100)
commit64be7335299c53e826d128c236a471e6b5d9bf17
tree2179c253469df9837c56688f7e280864a55d7476
parent8ccf33fb7b4f403df7de8360d7434e298e2b4123
Add missing jcr's reference counter decrement in bscan.

Without it, jcr was not freed at all and the the 'bscan_free_jcr' couldn't be called.
There is probably more work around that, since each 'get_jcr_by_session'
call increases reference counter and it's not always decreased after
that.
bacula/src/stored/bscan.c