From 886775fc12ba7f7f08bf5c7e674f85dfd838198a Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 3 May 2011 11:52:07 +0000 Subject: [PATCH] Closed a memory leak found by valgrind --- libisoburn/trunk/xorriso/findjob.c | 2 ++ libisoburn/trunk/xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libisoburn/trunk/xorriso/findjob.c b/libisoburn/trunk/xorriso/findjob.c index 40a38bd0..1df77bce 100644 --- a/libisoburn/trunk/xorriso/findjob.c +++ b/libisoburn/trunk/xorriso/findjob.c @@ -406,6 +406,8 @@ int Findjob_destroy(struct FindjoB **o, int flag) Exprnode_destroy(&(m->test_tree), 0); if(m->start_path != NULL) free(m->start_path); + if(m->found_path != NULL) + free(m->found_path); free((char *) *o); *o= NULL; return(1); diff --git a/libisoburn/trunk/xorriso/xorriso_timestamp.h b/libisoburn/trunk/xorriso/xorriso_timestamp.h index 76b3aace..2a9f7af0 100644 --- a/libisoburn/trunk/xorriso/xorriso_timestamp.h +++ b/libisoburn/trunk/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.05.03.115146" +#define Xorriso_timestamP "2011.05.03.115226"