mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge pull request #3595 from marc1706/ticket/13819
[ticket/13819] Add missing sql_freeresult() to files in includes/ * marc1706/ticket/13819: [ticket/13819] Add missing sql_freeresult() to files in includes/
This commit is contained in:
commit
65b40f15f5
2 changed files with 2 additions and 0 deletions
|
@ -1173,6 +1173,7 @@ class postgres_extractor extends base_extractor
|
||||||
$this->flush($sql_data . ";\n");
|
$this->flush($sql_data . ";\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
$sql_data = '-- Table: ' . $table_name . "\n";
|
$sql_data = '-- Table: ' . $table_name . "\n";
|
||||||
$sql_data .= "DROP TABLE $table_name;\n";
|
$sql_data .= "DROP TABLE $table_name;\n";
|
||||||
|
|
|
@ -489,6 +489,7 @@ function close_report($report_id_list, $mode, $action, $pm = false)
|
||||||
{
|
{
|
||||||
$post_id_list[] = $row[$id_column];
|
$post_id_list[] = $row[$id_column];
|
||||||
}
|
}
|
||||||
|
$db->sql_freeresult($result);
|
||||||
$post_id_list = array_unique($post_id_list);
|
$post_id_list = array_unique($post_id_list);
|
||||||
|
|
||||||
if ($pm)
|
if ($pm)
|
||||||
|
|
Loading…
Add table
Reference in a new issue