Skip to content

Commit

Permalink
permissions-db: Fix GError double free
Browse files Browse the repository at this point in the history
  • Loading branch information
sidt4 authored and GeorgesStavracas committed May 3, 2024
1 parent 0cad9ea commit 61cf817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion document-portal/permission-db.c
Expand Up @@ -838,7 +838,7 @@ save_content_callback (GObject *source_object,
if (ok)
g_task_return_boolean (task, TRUE);
else
g_task_return_error (task, error);
g_task_return_error (task, g_steal_pointer (&error));
}

void
Expand Down

0 comments on commit 61cf817

Please sign in to comment.