mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
gmain: Add a missing return on error path in g_main_context_release()
This should have been in commit
3926af723a
.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Fixes: #3054
This commit is contained in:
parent
741a561c4d
commit
c67dd9d3fe
@ -3608,6 +3608,7 @@ g_main_context_release (GMainContext *context)
|
|||||||
g_critical ("g_main_context_release() called on a context (%p, owner %p, "
|
g_critical ("g_main_context_release() called on a context (%p, owner %p, "
|
||||||
"owner count %u) which is not acquired by the current thread",
|
"owner count %u) which is not acquired by the current thread",
|
||||||
context, context_owner, context_owner_count);
|
context, context_owner, context_owner_count);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
#endif /* !G_DISABLE_CHECKS */
|
#endif /* !G_DISABLE_CHECKS */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user