Skip to content
Commit dee6f0cb authored by Cosimo Cecchi's avatar Cosimo Cecchi Committed by Cosimo Cecchi
Browse files

input-chooser: don't access priv pointer before checking no error

If the GCancellable is cancelled by the finalize() function, the
callback will still be called potentially with an instance of the
CcInputChooser that's not valid anymore.
To avoid crashing in that case, only access the priv pointer of
CcInputChooser when we have no error.

https://bugzilla.gnome.org/show_bug.cgi?id=761846
parent 50d2d132
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