cvs: php-src /ext/mnogosearch php_mnogo.c

From: Date: Mon, 30 Jun 2003 17:12:18 +0000
Subject: cvs: php-src /ext/mnogosearch php_mnogo.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-22179@lists.php.net to get a copy of this message
gluke Mon Jun 30 13:12:18 2003 EDT Modified files: /php-src/ext/mnogosearch php_mnogo.c Log: - Memory leaks in UdmCatPath and UdmCatList functions have been fixed. Index: php-src/ext/mnogosearch/php_mnogo.c diff -u php-src/ext/mnogosearch/php_mnogo.c:1.75 php-src/ext/mnogosearch/php_mnogo.c:1.76 --- php-src/ext/mnogosearch/php_mnogo.c:1.75 Mon Jun 16 11:40:35 2003 +++ php-src/ext/mnogosearch/php_mnogo.c Mon Jun 30 13:12:17 2003 @@ -1,5 +1,5 @@ /* $Source: /usr/repository/php-src/ext/mnogosearch/php_mnogo.c,v $ */ -/* $Id: php_mnogo.c,v 1.75 2003/06/16 15:40:35 andrey Exp $ */ +/* $Id: php_mnogo.c,v 1.76 2003/06/30 17:12:17 gluke Exp $ */ /* +----------------------------------------------------------------------+ @@ -2381,7 +2381,7 @@ add_next_index_stringl(return_value, C.Category[i].name,strlen(C.Category[i].name),1); } } else { - /* Possible leak ? 'buf' not free()-d */ + free(buf); RETURN_FALSE; } } @@ -2456,7 +2456,7 @@ add_next_index_stringl(return_value, C.Category[i].name,strlen(C.Category[i].name),1); } } else { - /* Possible leak ? 'buf' not free()-d */ + free(buf); RETURN_FALSE; } }

« previous php.cvs (#22179) next »