Closed memory leak with error about -ls. Coverity CID 28752.

This commit is contained in:
Thomas Schmitt 2015-11-03 15:00:02 +00:00
parent 302547406c
commit 573cf35833
2 changed files with 2 additions and 2 deletions

View File

@ -393,7 +393,7 @@ no_memory:;
if((flag & 1) && !(xorriso->ino_behavior & 32)) { if((flag & 1) && !(xorriso->ino_behavior & 32)) {
ret= Xorriso_make_hln_array(xorriso, 0); /* for stbuf.st_nlink */ ret= Xorriso_make_hln_array(xorriso, 0); /* for stbuf.st_nlink */
if(ret < 0) if(ret < 0)
return(ret); goto ex;
} }
if(flag&2) { if(flag&2) {
ret= Xorriso_ls_filev(xorriso, xorriso->wdi, nump, argv + (*idx), mem, ret= Xorriso_ls_filev(xorriso, xorriso->wdi, nump, argv + (*idx), mem,

View File

@ -1 +1 @@
#define Xorriso_timestamP "2015.11.03.145540" #define Xorriso_timestamP "2015.11.03.145920"