From c0e46287e41ac5be4c4832c915c8e2ba78b9a1d5 Mon Sep 17 00:00:00 2001 From: mensonge Date: Tue, 3 Feb 2009 15:32:23 +0000 Subject: Refactoring: free few sql results git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@247 b3834d28-1941-0410-a4f8-b48e95affb8f --- services/tagcacheservice.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'services/tagcacheservice.php') diff --git a/services/tagcacheservice.php b/services/tagcacheservice.php index bb82864..ed2eefc 100644 --- a/services/tagcacheservice.php +++ b/services/tagcacheservice.php @@ -49,6 +49,7 @@ class TagCacheService { $output[] = $row['tag']; } + $this->db->sql_freeresult($dbresult); return $output; } @@ -257,6 +258,7 @@ class TagCacheService { } $row = $this->db->sql_fetchrow($dbresult); + $this->db->sql_freeresult($dbresult); return $row['tag']; } @@ -289,6 +291,8 @@ class TagCacheService { foreach($rowset as $row) { $output[] = $row['tag']; } + + $this->db->sql_freeresult($dbresult); return $output; } -- cgit v1.2.3-54-g00ecf