Skip to content
Browse files

small fix #30

  • Loading branch information...
1 parent 646cf85 commit a78fa7a072596b3852d17d42c34907d554c475cf @zenovich committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 runkit.c
View
4 runkit.c
@@ -312,9 +312,11 @@ PHP_MINIT_FUNCTION(runkit)
*/
PHP_MSHUTDOWN_FUNCTION(runkit)
{
-#ifdef ZEND_ENGINE_2
+#ifdef PHP_RUNKIT_MANIPULATION
+# ifdef ZEND_ENGINE_2
pefree(RUNKIT_G(removed_function), 1);
pefree(RUNKIT_G(removed_method), 1);
+# endif
#endif
#if defined(PHP_RUNKIT_SUPERGLOBALS) || defined(PHP_RUNKIT_MANIPULATION)
UNREGISTER_INI_ENTRIES();

0 comments on commit a78fa7a

Please sign in to comment.
Something went wrong with that request. Please try again.