From 573cf35833c960964f5dc9b131c09158f109f00c Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 3 Nov 2015 15:00:02 +0000 Subject: [PATCH] Closed memory leak with error about -ls. Coverity CID 28752. --- xorriso/opts_i_o.c | 2 +- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xorriso/opts_i_o.c b/xorriso/opts_i_o.c index 70b0a8fc..01467a52 100644 --- a/xorriso/opts_i_o.c +++ b/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, diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 340d1d35..da056d17 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2015.11.03.145540" +#define Xorriso_timestamP "2015.11.03.145920"