Commit eeb42d74 authored by Carlos Garnacho's avatar Carlos Garnacho

miner/fs: Run dispose on TrackerResource

In the right circumstances the resource contains references to itself
through nie:isStoredAs. Running dispose would allow the root
TrackerResource to break those reference cycles.

Related: GNOME/tracker!116
parent 8e55fb75
......@@ -2484,6 +2484,7 @@ process_file_cb (GObject *object,
priv->extraction_queue = g_list_remove (priv->extraction_queue, data);
process_file_data_free (data);
g_object_run_dispose (resource);
g_object_unref (resource);
g_object_unref (file_info);
g_free (sparql_str);
......
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