From 11e0b38dbb4138068dd0ba64dc722466407ed6c1 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 --- xorriso/findjob.c | 2 ++ xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/xorriso/findjob.c b/xorriso/findjob.c index 40a38bd0..1df77bce 100644 --- a/xorriso/findjob.c +++ b/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/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 76b3aace..2a9f7af0 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.05.03.115146" +#define Xorriso_timestamP "2011.05.03.115226"