mirror of
https://github.com/Garhoogin/NitroPaint.git
synced 2025-06-18 14:25:31 -04:00
Fix double free
This commit is contained in:
parent
e18299fdd0
commit
c775d17814
@ -1527,7 +1527,6 @@ static unsigned int NftrCreateGfWidthBlock(NFTR *nftr, NnsStream *nns, StList *w
|
||||
|
||||
//free chain lists
|
||||
free(chainIndices);
|
||||
StListFree(&chains);
|
||||
for (unsigned int i = 0; i < chains.length; i++) {
|
||||
FontWidMapList entry;
|
||||
StListGet(&chains, i, &entry);
|
||||
|
Loading…
Reference in New Issue
Block a user