mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-15 05:46:15 +01:00
Merge branch 'backport-1691-source-locking-glib-2-66' into 'glib-2-66'
Backport !1691 “gmain: Fix possible locking issue in source unref” to glib-2-66 See merge request GNOME/glib!1693
This commit is contained in:
commit
8cbe2da75e
@ -2293,7 +2293,7 @@ g_source_unref_internal (GSource *source,
|
|||||||
g_slist_remove (source->priv->child_sources, child_source);
|
g_slist_remove (source->priv->child_sources, child_source);
|
||||||
child_source->priv->parent_source = NULL;
|
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);
|
g_slice_free (GSourcePrivate, source->priv);
|
||||||
|
Loading…
Reference in New Issue
Block a user