mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/13819] Add missing sql_freeresult() to files in includes/
PHPBB3-13819
This commit is contained in:
parent
ab3e4b8abc
commit
de90dd25b2
2 changed files with 2 additions and 0 deletions
|
@ -1173,6 +1173,7 @@ class postgres_extractor extends base_extractor
|
|||
$this->flush($sql_data . ";\n");
|
||||
}
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
$sql_data = '-- 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];
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
$post_id_list = array_unique($post_id_list);
|
||||
|
||||
if ($pm)
|
||||
|
|
Loading…
Add table
Reference in a new issue