From 6d4c0c5377c91e4a6315536aaa8467f650550094 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Fri, 6 Feb 2009 15:10:24 +0000 Subject: [PATCH] Free result in table_status git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@553 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- functions.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/functions.inc.php b/functions.inc.php index 20ea1099..5991b637 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -53,7 +53,9 @@ function get_databases() { function table_status($table) { global $mysql; $result = $mysql->query("SHOW TABLE STATUS LIKE '" . $mysql->escape_string(addcslashes($table, "%_")) . "'"); - return $result->fetch_assoc(); + $return = $result->fetch_assoc(); + $result->free(); + return $return; } function fields($table) {