diff options
author | Andreas Fischer <bantu@phpbb.com> | 2015-05-06 00:46:57 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2015-05-06 00:46:57 +0200 |
commit | 65b40f15f52ee53c3c5045aa90b59387b793cf59 (patch) | |
tree | 97ba91aad398398f4ebf24dd94e605c04f1d296b | |
parent | ab3e4b8abc393d497ade2a7b5c6d3fbf747de5c1 (diff) | |
parent | de90dd25b21ceca7c9a2450096bc5864ee24aed4 (diff) | |
download | forums-65b40f15f52ee53c3c5045aa90b59387b793cf59.tar forums-65b40f15f52ee53c3c5045aa90b59387b793cf59.tar.gz forums-65b40f15f52ee53c3c5045aa90b59387b793cf59.tar.bz2 forums-65b40f15f52ee53c3c5045aa90b59387b793cf59.tar.xz forums-65b40f15f52ee53c3c5045aa90b59387b793cf59.zip |
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/
-rw-r--r-- | phpBB/includes/acp/acp_database.php | 1 | ||||
-rw-r--r-- | phpBB/includes/mcp/mcp_reports.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_database.php b/phpBB/includes/acp/acp_database.php index 0c52f82459..c5aebf011d 100644 --- a/phpBB/includes/acp/acp_database.php +++ b/phpBB/includes/acp/acp_database.php @@ -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"; diff --git a/phpBB/includes/mcp/mcp_reports.php b/phpBB/includes/mcp/mcp_reports.php index 804d48ea97..ccb54092b4 100644 --- a/phpBB/includes/mcp/mcp_reports.php +++ b/phpBB/includes/mcp/mcp_reports.php @@ -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) |