Fix some memory leaks I just introduced.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4173 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-02-08 01:50:47 +00:00
parent b35d74ce36
commit a5f9f927e6
2 changed files with 5 additions and 0 deletions

View File

@ -2331,6 +2331,7 @@ void tf_ssb_destroy(tf_ssb_t* ssb)
{
sqlite3_close(ssb->db_readers[i]);
}
tf_free(ssb->db_readers);
uv_mutex_destroy(&ssb->db_readers_lock);
tf_free((void*)ssb->db_path);
tf_free(ssb);