Prevented use of already freed memory. Coverity CID 28830.
This commit is contained in:
parent
3d2ae3befe
commit
5ed5518ab1
@ -922,11 +922,13 @@ ex:;
|
|||||||
strcat(report, " ");
|
strcat(report, " ");
|
||||||
strcat(report, xorriso->list_delimiter);
|
strcat(report, xorriso->list_delimiter);
|
||||||
Checkmediajob_destroy(&dflt, 0);
|
Checkmediajob_destroy(&dflt, 0);
|
||||||
sprintf(default_report, "-check_media_defaults reset=now %s",
|
if(default_report != NULL) {
|
||||||
xorriso->list_delimiter);
|
sprintf(default_report, "-check_media_defaults reset=now %s",
|
||||||
|
xorriso->list_delimiter);
|
||||||
|
if(ret > 0 && strcmp(report, default_report) == 0)
|
||||||
|
ret= 2;
|
||||||
|
}
|
||||||
Xorriso_free_meM(default_report);
|
Xorriso_free_meM(default_report);
|
||||||
if(ret > 0 && strcmp(report, default_report) == 0)
|
|
||||||
return(2);
|
|
||||||
return(ret);
|
return(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2015.11.06.200320"
|
#define Xorriso_timestamP "2015.11.07.105529"
|
||||||
|
Loading…
Reference in New Issue
Block a user