From 82f66bed7b7cde68d870525fb8514c7e8a4cc610 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Wed, 17 Oct 2007 07:28:17 +0000 Subject: [PATCH] closing the $rs --- mod/chat/lib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod/chat/lib.php b/mod/chat/lib.php index c8f68fc723..da204e6d5e 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; } -- 2.39.5