fix unfreed sql result

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@486 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
cweiske 2009-10-31 10:21:11 +00:00
parent ac4e66c360
commit c412f4fcc8

View file

@ -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;
}