summaryrefslogtreecommitdiffstatshomepage
path: root/services/tagcacheservice.php
diff options
context:
space:
mode:
authorGravatar mensonge2009-02-03 15:32:23 +0000
committerGravatar mensonge2009-02-03 15:32:23 +0000
commitc0e46287e41ac5be4c4832c915c8e2ba78b9a1d5 (patch)
tree98aef584a8d4b91c5a618bbbfa11953cba4ad9c2 /services/tagcacheservice.php
parent4aaef1823e5e37f02bc18078ccb67217b8cdbcb7 (diff)
downloadscuttle-c0e46287e41ac5be4c4832c915c8e2ba78b9a1d5.tar.gz
scuttle-c0e46287e41ac5be4c4832c915c8e2ba78b9a1d5.zip
Refactoring: free few sql results
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@247 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'services/tagcacheservice.php')
-rw-r--r--services/tagcacheservice.php4
1 files changed, 4 insertions, 0 deletions
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;
}