cvs: php4 /ext/standard reg.c

From: Date: Sun, 23 Dec 2001 15:56:41 +0000
Subject: cvs: php4 /ext/standard reg.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8789@lists.php.net to get a copy of this message
mfischer Sun Dec 23 10:56:41 2001 EDT Modified files: /php4/ext/standard reg.c Log: - Fix tiny leak. Index: php4/ext/standard/reg.c diff -u php4/ext/standard/reg.c:1.55 php4/ext/standard/reg.c:1.56 --- php4/ext/standard/reg.c:1.55 Fri Dec 21 22:04:32 2001 +++ php4/ext/standard/reg.c Sun Dec 23 10:56:41 2001 @@ -17,7 +17,7 @@ | Jaakko Hyvätti <jaakko@hyvatti.iki.fi> | +----------------------------------------------------------------------+ */ -/* $Id: reg.c,v 1.55 2001/12/22 03:04:32 zeev Exp $ */ +/* $Id: reg.c,v 1.56 2001/12/23 15:56:41 mfischer Exp $ */ #include <stdio.h> #include "php.h" @@ -236,10 +236,10 @@ add_index_bool(*array, i, 0); } } - efree(subs); efree(buf); } + efree(subs); efree(string); if (err == REG_NOMATCH) { RETVAL_FALSE;

« previous php.cvs (#8789) next »