From e44da4a49825ed575e0168e8d2f5644c14bbc524 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Tue, 19 Dec 2017 14:42:13 +0100 Subject: [PATCH] Close DB connection in api_saved_searches_list --- include/api.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/api.php b/include/api.php index 659f23b58c..13c652feb0 100644 --- a/include/api.php +++ b/include/api.php @@ -5514,6 +5514,8 @@ function api_saved_searches_list($type) ); } + dba::close($terms); + return api_format_data("terms", $type, array('terms' => $result)); }