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:
parent
ac4e66c360
commit
c412f4fcc8
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue