cdrkit-1.1.11-handler.patch 494 B

12345678910111213
  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)
  5. if (child_pid != 0) {
  6. SCSI *usalp = get_scsi_p();
  7. - if (usalp->running) {
  8. + if (usalp && usalp->running) {
  9. usalp->cb_fun = on_exitscsi;
  10. usalp->cb_arg = (void *) (uintptr_t) status;
  11. } else {