Commit 352acd80 authored by Andrea Azzarone's avatar Andrea Azzarone 👌

libtracker-data: Fix memory leaks

parent 24fa3617
......@@ -1702,6 +1702,7 @@ tracker_db_interface_sqlite_fts_init (TrackerDBInterface *db_interface,
fts_columns[i]);
}
g_free (db_interface->fts_properties);
db_interface->fts_properties = g_string_free (fts_properties,
FALSE);
g_strfreev (fts_columns);
......@@ -2266,6 +2267,7 @@ tracker_db_interface_create_statement (TrackerDBInterface *db_interfac
error);
if (!sqlite_stmt) {
tracker_db_interface_unlock (db_interface);
g_free (full_query);
return NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment