wpp: Free strings on define deletion (Valgrind).
This commit is contained in:
parent
ffe65c2721
commit
e32598b046
|
@ -310,6 +310,9 @@ void pp_del_define(const char *name)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free( ppp->ident );
|
||||||
|
free( ppp->subst.text );
|
||||||
|
free( ppp->filename );
|
||||||
free_pp_entry( ppp, pphash(name) );
|
free_pp_entry( ppp, pphash(name) );
|
||||||
|
|
||||||
if(pp_status.debug)
|
if(pp_status.debug)
|
||||||
|
|
Loading…
Reference in New Issue