mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Fix a segfault in g_cancellable_cancel
This commit is contained in:
parent
66e9b50b2c
commit
563c55bb71
@ -519,7 +519,7 @@ g_cancellable_cancel (GCancellable *cancellable)
|
||||
GCancellablePrivate *priv;
|
||||
|
||||
if (cancellable == NULL ||
|
||||
priv->cancelled)
|
||||
cancellable->priv->cancelled)
|
||||
return;
|
||||
|
||||
priv = cancellable->priv;
|
||||
|
Loading…
Reference in New Issue
Block a user