Skip to content

user-accounts: Fix crash when password dialog is cancelled

Ondrej Holy requested to merge wip/oholy/password-crashes into master

If "Esc" is pressed, the callbacks to handle the focus-out signal are called after the cc_password_dialog_dispose function. This leads to segfaults, because the user variable is already cleared. Let's simply do not continue if user == NULL to fix those crashes.

Closes: #563 (closed)

Merge request reports