set pointer to NULL after free

This commit is contained in:
Yay295 2024-04-22 12:48:26 -05:00
parent 7cb3efc762
commit 43473101cf
2 changed files with 2 additions and 0 deletions

View File

@ -1826,4 +1826,5 @@ ImagingConvertInit(void) {
void
ImagingConvertFree(void) {
free(converters);
converters = NULL;
}

View File

@ -691,4 +691,5 @@ ImagingPackInit(void) {
void
ImagingPackFree(void) {
free(packers);
packers = NULL;
}