Browse Source

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

master
Thomas Schmitt 7 years ago
parent
commit
573cf35833
  1. 2
      xorriso/opts_i_o.c
  2. 2
      xorriso/xorriso_timestamp.h

2
xorriso/opts_i_o.c

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

2
xorriso/xorriso_timestamp.h

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

Loading…
Cancel
Save