diff options
author | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-10-31 10:21:11 +0000 |
---|---|---|
committer | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-10-31 10:21:11 +0000 |
commit | c412f4fcc84f65a613bbfbc9329425a8030737d3 (patch) | |
tree | f4809327eb893edb8401ebadb75f55ad4ace5dca /src/SemanticScuttle/Service/Bookmark.php | |
parent | ac4e66c360ce83fe13f00af99fbfad8a80b80e1f (diff) | |
download | semanticscuttle-c412f4fcc84f65a613bbfbc9329425a8030737d3.tar.gz semanticscuttle-c412f4fcc84f65a613bbfbc9329425a8030737d3.tar.bz2 |
fix unfreed sql result
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@486 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'src/SemanticScuttle/Service/Bookmark.php')
-rw-r--r-- | src/SemanticScuttle/Service/Bookmark.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/SemanticScuttle/Service/Bookmark.php b/src/SemanticScuttle/Service/Bookmark.php index 2ac77a4..949b073 100644 --- a/src/SemanticScuttle/Service/Bookmark.php +++ b/src/SemanticScuttle/Service/Bookmark.php @@ -190,7 +190,9 @@ class SemanticScuttle_Service_Bookmark extends SemanticScuttle_DbService '', __LINE__, __FILE__, $sql, $this->db ); } - return $this->db->sql_fetchfield(0, 0); + $count = $this->db->sql_fetchfield(0, 0); + $this->db->sql_freeresult($dbresult); + return $count; } |