cvs: php4 /ext/zlib zlib.c

From: Date: Thu, 01 Feb 2001 16:29:07 +0000
Subject: cvs: php4 /ext/zlib zlib.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3856@lists.php.net to get a copy of this message
sas Thu Feb 1 08:29:07 2001 EDT Modified files: /php4/ext/zlib zlib.c Log: Fix a huge memory leak in the ob_gzhandler. Index: php4/ext/zlib/zlib.c diff -u php4/ext/zlib/zlib.c:1.68 php4/ext/zlib/zlib.c:1.69 --- php4/ext/zlib/zlib.c:1.68 Mon Nov 20 16:40:12 2000 +++ php4/ext/zlib/zlib.c Thu Feb 1 08:29:07 2001 @@ -16,7 +16,7 @@ | Stefan Röhrich <sr@linux.de> | +----------------------------------------------------------------------+ */ -/* $Id: zlib.c,v 1.68 2000/11/21 00:40:12 hholzgra Exp $ */ +/* $Id: zlib.c,v 1.69 2001/02/01 16:29:07 sas Exp $ */ #define IS_EXT_MODULE #include "php.h" @@ -1032,6 +1032,7 @@ *new_length = buf_used + 10 + 8; *newstr = buffer; + deflateEnd(&ZLIBG(stream)); return SUCCESS; }

« previous php.cvs (#3856) next »