cvs: php4 /ext/standard user_filters.c
| From: | Moriyoshi Koizumi | Date: | Tue, 07 Jan 2003 08:57:28 +0000 |
| Subject: | cvs: php4 /ext/standard user_filters.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17706@lists.php.net to get a copy of this message | ||
moriyoshi Tue Jan 7 03:57:28 2003 EDT
Modified files:
/php4/ext/standard user_filters.c
Log:
Fixed small leak
Index: php4/ext/standard/user_filters.c
diff -u php4/ext/standard/user_filters.c:1.7 php4/ext/standard/user_filters.c:1.8
--- php4/ext/standard/user_filters.c:1.7 Mon Jan 6 20:02:29 2003
+++ php4/ext/standard/user_filters.c Tue Jan 7 03:57:27 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: user_filters.c,v 1.7 2003/01/07 01:02:29 pollita Exp $ */
+/* $Id: user_filters.c,v 1.8 2003/01/07 08:57:27 moriyoshi Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -184,6 +184,9 @@
if (retval)
zval_ptr_dtor(&retval);
+
+ if (zbuf)
+ zval_ptr_dtor(&zbuf);
return wrote;
}