From bcd18471bdc7f96d93166caeae874dfef039776a Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 4 May 2011 15:18:11 +0000 Subject: [PATCH] Closed a memory leak found by valgrind --- xorriso/findjob.c | 2 +- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xorriso/findjob.c b/xorriso/findjob.c index 1df77bce..b9b434a2 100644 --- a/xorriso/findjob.c +++ b/xorriso/findjob.c @@ -58,7 +58,7 @@ int Exprtest_destroy(struct ExprtesT **ftest, int flag) if(f==NULL) return(0); - if(f->test_type == 1) { + if(f->test_type == 1 || f->test_type == 13 || f->test_type == 16) { if(f->arg1 != NULL) free(f->arg1); if(f->arg2 != NULL) { diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 7e7044b6..00ca5ed9 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.05.04.151721" +#define Xorriso_timestamP "2011.05.04.151820"