Commit 354a1cd6 authored by Andrea Azzarone's avatar Andrea Azzarone 🚴

libtracker-direct: Fix memory leak

The value returned from a call to g_strjoinv has to be freed using g_free.
parent f502e632
......@@ -569,6 +569,7 @@ update_array_async_thread_func (GTask *task,
tracker_sparql_connection_update (source_object, concatenated,
g_task_get_priority (task),
cancellable, &error);
g_free (concatenated);
if (!error) {
g_task_return_pointer (task, errors,
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