Closed a memory leak found by valgrind
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user