From: cweiske Date: Sat, 31 Oct 2009 10:21:11 +0000 (+0000) Subject: fix unfreed sql result X-Git-Tag: v0.97~211 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=c412f4fcc84f65a613bbfbc9329425a8030737d3;p=semanticscuttle.git fix unfreed sql result git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@486 b3834d28-1941-0410-a4f8-b48e95affb8f --- 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; }