mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-12-18 00:11:06 +00:00
fix: ftepp_delete needs to ftepp_flush to not cause a leak on errors
This commit is contained in:
parent
921877e8a4
commit
048ef3e796
1 changed files with 1 additions and 0 deletions
1
ftepp.c
1
ftepp.c
|
@ -234,6 +234,7 @@ static ftepp_t* ftepp_new()
|
|||
static void ftepp_delete(ftepp_t *self)
|
||||
{
|
||||
size_t i;
|
||||
ftepp_flush(self);
|
||||
if (self->itemname)
|
||||
mem_d(self->itemname);
|
||||
if (self->includename)
|
||||
|
|
Loading…
Reference in a new issue