From bef2f86f044ff0709a7b2e111c586f9b615f2eca Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Wed, 17 Oct 2007 07:28:44 +0000 Subject: [PATCH] closing this $rs --- mod/chat/lib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod/chat/lib.php b/mod/chat/lib.php index c8f68fc7238..5c06a42aa96 100644 --- a/mod/chat/lib.php +++ b/mod/chat/lib.php @@ -365,6 +365,8 @@ function chat_get_latest_message($chatid, $groupid=0) { } $result = rs_fetch_record($rs); + + rs_close($rs); return $result; }