mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-27 00:19:58 +03:00
set pointer to NULL after free
This commit is contained in:
parent
39d434b39d
commit
31118b0019
|
@ -1794,4 +1794,5 @@ ImagingConvertInit(void) {
|
|||
void
|
||||
ImagingConvertFree(void) {
|
||||
free(converters);
|
||||
converters = NULL;
|
||||
}
|
||||
|
|
|
@ -815,4 +815,5 @@ ImagingPackInit(void) {
|
|||
void
|
||||
ImagingPackFree(void) {
|
||||
free(packers);
|
||||
packers = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user