Commit 6109fe12 authored by Christian Hergert's avatar Christian Hergert
Browse files

beautifier: make ownership transfer explicit

parent 59650e13
......@@ -683,7 +683,7 @@ get_entries_worker (GTask *task,
g_clear_pointer (&map, g_array_unref);
result = g_slice_new0 (GbBeautifierEntriesResult);
result->entries = entries;
result->entries = g_steal_pointer (&entries);
result->has_default = has_default;
g_task_return_pointer (task, result, 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