iliaa Sat Jul 2 13:19:58 2005 EDT Modified files: /php-src/ext/pdo pdo_stmt.c Log: Fixed memory leak on PDO_FETCH_OBJ. http://cvs.php.net/diff.php/php-src/ext/pdo/pdo_stmt.c?r1=1.99&r2=1.100&ty=u Index: php-src/ext/pdo/pdo_stmt.c diff -u php-src/ext/pdo/pdo_stmt.c:1.99 php-src/ext/pdo/pdo_stmt.c:1.100 --- php-src/ext/pdo/pdo_stmt.c:1.99 Wed Jun 8 15:51:56 2005 +++ php-src/ext/pdo/pdo_stmt.c Sat Jul 2 13:19:58 2005 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pdo_stmt.c,v 1.99 2005/06/08 19:51:56 dmitry Exp $ */ +/* $Id: pdo_stmt.c,v 1.100 2005/07/02 17:19:58 iliaa Exp $ */ /* The PDO Statement Handle Class */ @@ -851,6 +851,7 @@ zend_update_property(NULL, return_value, stmt->columns[i].name, stmt->columns[i].namelen, val TSRMLS_CC); + zval_ptr_dtor(&val); break; case PDO_FETCH_CLASS:
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php