mirror of
https://github.com/red031000/nitrogfx.git
synced 2025-06-18 13:15:35 -04:00
ensure to free new VRAM transfer data in NCER parser
This commit is contained in:
parent
819153913a
commit
ada2b83bc1
8
json.c
8
json.c
@ -641,6 +641,14 @@ void FreeNCERCell(struct JsonToCellOptions *options)
|
||||
}
|
||||
free(options->labels);
|
||||
}
|
||||
if (options->vramTransferEnabled)
|
||||
{
|
||||
for (int j = 0; j < options->cellCount; j++)
|
||||
{
|
||||
free(options->transferData[j]);
|
||||
}
|
||||
free(options->transferData);
|
||||
}
|
||||
free(options->cells);
|
||||
free(options);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user