summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-03-13 09:15:15 +0100
committerBastien Nocera <hadess@hadess.net>2013-03-13 09:15:15 +0100
commitacb94881122becb46de197ad177c0edfb535e211 (patch)
tree8bdc7831de665e7a10e90d741602c343e8ce69e4
parentc3723cb9c84be856a02b099621cdcd8c58ca4190 (diff)
downloadgnome-control-center-acb94881122becb46de197ad177c0edfb535e211.tar.gz
user-accounts: Stop crash when changing the password
Pass the correct user data to the passwd_change_password() callback, so we don't try to manipulate NULL pointers in place of the password dialogue. https://bugzilla.redhat.com/show_bug.cgi?id=874725
-rw-r--r--panels/user-accounts/run-passwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/panels/user-accounts/run-passwd.c b/panels/user-accounts/run-passwd.c
index c6592a617..503ea48cf 100644
--- a/panels/user-accounts/run-passwd.c
+++ b/panels/user-accounts/run-passwd.c
@@ -129,7 +129,7 @@ child_watch_cb (GPid pid, gint status, PasswdHandler *passwd_handler)
if (passwd_handler->chpasswd_cb)
passwd_handler->chpasswd_cb (passwd_handler,
NULL,
- passwd_handler->auth_cb_data);
+ passwd_handler->chpasswd_cb_data);
}
}
}