Fix double free.

escl-fix-sleep-mode
thierry1970 2021-01-20 14:02:25 +01:00
rodzic 74b39edfb1
commit 9aa93725b1
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -303,6 +303,7 @@ wake_up_device:
*status = SANE_STATUS_INVAL;
}
free(download->memory);
download->memory = NULL;
}
else {
DBG( 1, "Create NewJob : The creation of the failed job: %s\n", download->memory);