See bug #71667, free_statement already does the job
/* Cancel any pending results */
dbcancel(H->link);
- if (stmt->columns) {
- int i = 0;
- for (; i < stmt->column_count; i++) {
- if (stmt->columns[i].name) {
- efree(stmt->columns[i].name);
- }
- }
- efree(stmt->columns);
- stmt->columns = NULL;
- }
-
return 1;
}
{
pdo_dblib_stmt *S = (pdo_dblib_stmt*)stmt->driver_data;
- if (stmt->columns) {
- int i = 0;
- for (; i < stmt->column_count; i++) {
- if (stmt->columns[i].name) {
- efree(stmt->columns[i].name);
- }
- }
- efree(stmt->columns);
- stmt->columns = NULL;
- }
-
efree(S);
return 1;