]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix FD segfault after a hangup/blowup
authorEric Bollengier <eric@baculasystems.com>
Fri, 16 Oct 2020 08:37:55 +0000 (10:37 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:02:58 +0000 (09:02 +0100)
bacula/src/filed/backup.c

index b24e5657ffdebd45348db39e3fa6294072c54a66..b9ec0e63b6752ff41bdc6614752e4346fc9011f3 100644 (file)
@@ -819,7 +819,6 @@ bool process_and_send_data(bctx_t &bctx)
 
    /* Debug code: check if we must hangup or blowup */
    if (handle_hangup_blowup(jcr, 0, jcr->ReadBytes)) {
-      sd->close();
       goto err;
    }