|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2008-07-06 17:04 UTC] nlopess@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 19:00:02 2025 UTC | 
Description: ------------ This is a patch. This problem is already fixed in PHP_5_1, PHP_5_2 and HEAD branch. --- php_pcre.c.orig 2006-11-13 21:56:27.000000000 +0900 +++ php_pcre.c 2006-11-13 21:58:42.000000000 +0900 @@ -454,6 +454,8 @@ if (rc < 0) { php_error(E_WARNING, "%s: internal pcre_fullinfo () error %d", get_active_function_name(TSRMLS_C), rc); + efree(offsets); + efree(subpat_names); RETURN_FALSE; } if (name_cnt > 0) { @@ -464,6 +466,8 @@ if (rc < 0) { php_error(E_WARNING, "%s: internal pcre_fullinfo() error %d", get_active_function_name (TSRMLS_C), rc); + efree(offsets); + efree(subpat_names); RETURN_FALSE; }