Closed a memory leak with -find. Coverity CID 28740.

This commit is contained in:
Thomas Schmitt 2015-11-03 13:06:30 +00:00
parent db47420120
commit c3838c1a86
2 changed files with 2 additions and 1 deletions

View File

@ -483,6 +483,7 @@ int Findjob_new_node(struct FindjoB *job, struct ExprnodE **fnode,
job->errn= -2; job->errn= -2;
sprintf(job->errmsg, sprintf(job->errmsg,
"Program error while parsing -job : sub branch overwrite"); "Program error while parsing -job : sub branch overwrite");
Exprnode_destroy(fnode, 0);
return(0); return(0);
} else } else
job->cursor->sub= f; job->cursor->sub= f;

View File

@ -1 +1 @@
#define Xorriso_timestamP "2015.11.03.125655" #define Xorriso_timestamP "2015.11.03.130551"