Merge branch 'benzea/fix-possible-source-locking-issue' into 'master'

gmain: Fix possible locking issue in source unref

See merge request GNOME/glib!1691
This commit is contained in:
Sebastian Dröge 2020-10-13 13:49:43 +00:00
commit 9c73f8b528

View File

@ -2293,7 +2293,7 @@ g_source_unref_internal (GSource *source,
g_slist_remove (source->priv->child_sources, child_source);
child_source->priv->parent_source = NULL;
g_source_unref_internal (child_source, context, have_lock);
g_source_unref_internal (child_source, context, TRUE);
}
g_slice_free (GSourcePrivate, source->priv);