Removed duplicate check for memory shortage. Coverity CID 28701.
This commit is contained in:
parent
ea5edc7f2f
commit
72ce15a9fb
@ -4168,10 +4168,6 @@ int Xorriso_launch_frontend(struct XorrisO *xorriso, int argc, char **argv,
|
|||||||
|
|
||||||
/* Add a NULL pointer for execv() */
|
/* Add a NULL pointer for execv() */
|
||||||
Xorriso_alloc_meM(exec_argv, char *, argc + 1);
|
Xorriso_alloc_meM(exec_argv, char *, argc + 1);
|
||||||
if(exec_argv == NULL) {
|
|
||||||
Xorriso_no_malloc_memory(xorriso, NULL, 0);
|
|
||||||
ret= -1; goto ex;
|
|
||||||
}
|
|
||||||
for(i= 0; i < argc; i++)
|
for(i= 0; i < argc; i++)
|
||||||
exec_argv[i]= argv[i];
|
exec_argv[i]= argv[i];
|
||||||
exec_argv[argc]= NULL;
|
exec_argv[argc]= NULL;
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2015.11.08.110314"
|
#define Xorriso_timestamP "2015.11.08.140544"
|
||||||
|
Loading…
Reference in New Issue
Block a user