Skip to content

Commit 2e93f3c

Browse files
committed
Function autoloading release memory fix
1 parent d8eea11 commit 2e93f3c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Zend/zend_autoload.c

+2
Original file line numberDiff line numberDiff line change
@@ -389,5 +389,7 @@ void zend_autoload_shutdown(void)
389389
}
390390
if (autoloader_function_autoload_functions) {
391391
zend_hash_destroy(autoloader_function_autoload_functions);
392+
FREE_HASHTABLE(autoloader_function_autoload_functions);
393+
autoloader_function_autoload_functions = NULL;
392394
}
393395
}

0 commit comments

Comments
 (0)