Date: 12/29/98
- Next message: bro <email protected>: "[PHP-DEV] Bug #1012: Crash in SQLServer Image Column Conversion"
- Previous message: Sascha Schumann: "Re: [PHP-DEV] Another latest CVS problem"
- Next in thread: swilliam: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tuesday December 29, 1998 @ 6:24
Author: sas
Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv19682
Modified Files:
reg.c
Log Message:
add some missing regfrees
Index: php3/functions/reg.c
diff -c php3/functions/reg.c:1.93 php3/functions/reg.c:1.94
*** php3/functions/reg.c:1.93 Mon Dec 28 06:59:22 1998
--- php3/functions/reg.c Tue Dec 29 06:24:58 1998
***************
*** 28,34 ****
| Jaakko Hyvätti <jaakko <email protected>> |
+----------------------------------------------------------------------+
*/
! /* $Id: reg.c,v 1.93 1998/12/28 11:59:22 sas Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 28,34 ----
| Jaakko Hyvätti <jaakko <email protected>> |
+----------------------------------------------------------------------+
*/
! /* $Id: reg.c,v 1.94 1998/12/29 11:24:58 sas Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 209,214 ****
--- 209,215 ----
err = regexec(&re, string, (size_t) NS, subs, 0);
if (err && err != REG_NOMATCH) {
_php3_reg_eprint(err, &re);
+ _php3_regfree(&re);
RETURN_FALSE;
}
match_len = 1;
***************
*** 565,570 ****
--- 566,572 ----
/* see if we encountered an error */
if (err && err != REG_NOMATCH) {
php3_error(E_WARNING, "unexpected regex error (%d)", err);
+ _php3_regfree(&re);
_php3_hash_destroy(return_value->value.ht);
efree(return_value->value.ht);
RETURN_FALSE;
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: bro <email protected>: "[PHP-DEV] Bug #1012: Crash in SQLServer Image Column Conversion"
- Previous message: Sascha Schumann: "Re: [PHP-DEV] Another latest CVS problem"
- Next in thread: swilliam: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

