From 402de24fc4680b4057b9194d597dd9f38a2bd563 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Tue, 25 May 2004 16:40:54 +0000 Subject: [PATCH] One more leak down. --- ext/pdo/pdo_stmt.c | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.50.1