Skip to content

gcancellable: add back lost NULL check in g_cancellable_cancel()

Christoph Reiter requested to merge cancellable-cancel-null into master

Commit f975858e removed the NULL check in g_cancellable_cancel() by accident which makes it crash when called with NULL.

Add the check back and add a test so this doesn't happen again.

Fixes #1710 (closed)

Merge request reports