mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
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:
commit
9c73f8b528
@ -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