Closed a memory leak found by valgrind
This commit is contained in:
parent
c5855dd81d
commit
11e0b38dbb
@ -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);
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2011.05.03.115146"
|
||||
#define Xorriso_timestamP "2011.05.03.115226"
|
||||
|
Loading…
Reference in New Issue
Block a user