mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Prevent crash on ext/pdo_mysql/tests/bug_39858.phpt when built with libmysql
This commit is contained in:
commit
5d6912d185
1 changed files with 3 additions and 1 deletions
|
@ -2018,8 +2018,10 @@ static int pdo_stmt_do_next_rowset(pdo_stmt_t *stmt)
|
|||
struct pdo_column_data *cols = stmt->columns;
|
||||
|
||||
for (i = 0; i < stmt->column_count; i++) {
|
||||
if (cols[i].name) {
|
||||
zend_string_release(cols[i].name);
|
||||
}
|
||||
}
|
||||
efree(stmt->columns);
|
||||
stmt->columns = NULL;
|
||||
stmt->column_count = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue