From: Ilia Alshanetsky Date: Tue, 25 May 2004 16:40:54 +0000 (+0000) Subject: One more leak down. X-Git-Tag: php-5.0.0RC3RC1~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=402de24fc4680b4057b9194d597dd9f38a2bd563;p=php One more leak down. --- diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index 21163a6926..cd414d75d3 100755 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -806,6 +806,8 @@ void pdo_dbstmt_free_storage(zend_object *object TSRMLS_DC) for (i = 0; i < stmt->column_count; i++) { efree(cols[i].name); } + } + if (stmt->columns) { efree(stmt->columns); }