Skip to content

Commit

Permalink
Revert "fix memleaks of view ext"
Browse files Browse the repository at this point in the history
This reverts commit ed30e80.
  • Loading branch information
laruence committed Sep 9, 2012
1 parent ed30e80 commit 56e9b57
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions yaf.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
+----------------------------------------------------------------------+
*/

/* $Id: yaf.c 327563 2012-09-09 07:02:00Z laruence $ */
/* $Id: yaf.c 327514 2012-09-07 04:31:34Z laruence $ */

#ifdef HAVE_CONFIG_H
#include "config.h"
Expand Down Expand Up @@ -234,10 +234,6 @@ PHP_RSHUTDOWN_FUNCTION(yaf)
}
YAF_G(default_route) = NULL;

if (YAF_G(view_ext) != YAF_DEFAULT_VIEW_EXT) {
efree(YAF_G(view_ext));
}

return SUCCESS;
}
/* }}} */
Expand Down

0 comments on commit 56e9b57

Please sign in to comment.