Commit 563c55bb authored by Matthias Clasen's avatar Matthias Clasen

Fix a segfault in g_cancellable_cancel

parent 66e9b50b
......@@ -519,7 +519,7 @@ g_cancellable_cancel (GCancellable *cancellable)
GCancellablePrivate *priv;
if (cancellable == NULL ||
priv->cancelled)
cancellable->priv->cancelled)
return;
priv = cancellable->priv;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment