From c3838c1a86f1df024c6f1b4f4ef3c37c2c80b98c Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 3 Nov 2015 13:06:30 +0000 Subject: [PATCH] Closed a memory leak with -find. Coverity CID 28740. --- xorriso/findjob.c | 1 + xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/xorriso/findjob.c b/xorriso/findjob.c index ec7f7e42..509b4180 100644 --- a/xorriso/findjob.c +++ b/xorriso/findjob.c @@ -483,6 +483,7 @@ int Findjob_new_node(struct FindjoB *job, struct ExprnodE **fnode, job->errn= -2; sprintf(job->errmsg, "Program error while parsing -job : sub branch overwrite"); + Exprnode_destroy(fnode, 0); return(0); } else job->cursor->sub= f; diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 7c32ed36..afb28ba4 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2015.11.03.125655" +#define Xorriso_timestamP "2015.11.03.130551"