Skip to content

Commit

Permalink
small fix zenovich#30
Browse files Browse the repository at this point in the history
  • Loading branch information
zenovich committed Sep 30, 2012
1 parent 646cf85 commit a78fa7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runkit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a78fa7a

Please sign in to comment.