- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
[cdrkit.git] / cdrkit-1.1.11-handler.patch
blob5b3fa6a8bd42670d6195424c8c25fe128121ce31
1 diff -up cdrkit-1.1.11/icedax/icedax.c.handler cdrkit-1.1.11/icedax/icedax.c
2 --- cdrkit-1.1.11/icedax/icedax.c.handler 2011-06-02 16:37:02.446206285 +0200
3 +++ cdrkit-1.1.11/icedax/icedax.c 2011-06-02 16:37:25.444206279 +0200
4 @@ -1054,7 +1054,7 @@ static void exit_wrapper(int status)
6 if (child_pid != 0) {
7 SCSI *usalp = get_scsi_p();
8 - if (usalp->running) {
9 + if (usalp && usalp->running) {
10 usalp->cb_fun = on_exitscsi;
11 usalp->cb_arg = (void *) (uintptr_t) status;
12 } else {