Commit bbf53834 authored by Sam Thursfield's avatar Sam Thursfield

Merge branch 'wip/carlosg/invalid-reads' into 'master'

libtracker-miner: Add missing ref to SPARQL buffer task

Closes #130

See merge request !278
parents 89818c9c d5ba6f69
Pipeline #220731 failed with stages
in 2 minutes and 44 seconds
......@@ -522,7 +522,7 @@ tracker_sparql_buffer_push_finish (TrackerSparqlBuffer *buffer,
task = g_task_propagate_pointer (G_TASK (res), error);
if (!task)
task = g_task_get_task_data (G_TASK (res));
task = g_object_ref (g_task_get_task_data (G_TASK (res)));
return task;
}
......
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