Removed duplicate check for memory shortage. Coverity CID 28701.

This commit is contained in:
Thomas Schmitt 2015-11-08 14:06:23 +00:00
parent b1c64ffb86
commit 1e0af47126
2 changed files with 1 additions and 5 deletions

View File

@ -4168,10 +4168,6 @@ int Xorriso_launch_frontend(struct XorrisO *xorriso, int argc, char **argv,
/* Add a NULL pointer for execv() */
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++)
exec_argv[i]= argv[i];
exec_argv[argc]= NULL;

View File

@ -1 +1 @@
#define Xorriso_timestamP "2015.11.08.110314"
#define Xorriso_timestamP "2015.11.08.140544"