mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-28 19:06:18 +03:00
set pointer to NULL after free
This commit is contained in:
parent
7cb3efc762
commit
43473101cf
|
@ -1826,4 +1826,5 @@ ImagingConvertInit(void) {
|
|||
void
|
||||
ImagingConvertFree(void) {
|
||||
free(converters);
|
||||
converters = NULL;
|
||||
}
|
||||
|
|
|
@ -691,4 +691,5 @@ ImagingPackInit(void) {
|
|||
void
|
||||
ImagingPackFree(void) {
|
||||
free(packers);
|
||||
packers = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user