Closed a memory leak found by valgrind
This commit is contained in:
parent
340e54b90e
commit
886775fc12
@ -406,6 +406,8 @@ int Findjob_destroy(struct FindjoB **o, int flag)
|
|||||||
Exprnode_destroy(&(m->test_tree), 0);
|
Exprnode_destroy(&(m->test_tree), 0);
|
||||||
if(m->start_path != NULL)
|
if(m->start_path != NULL)
|
||||||
free(m->start_path);
|
free(m->start_path);
|
||||||
|
if(m->found_path != NULL)
|
||||||
|
free(m->found_path);
|
||||||
free((char *) *o);
|
free((char *) *o);
|
||||||
*o= NULL;
|
*o= NULL;
|
||||||
return(1);
|
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