Restore ancient semantic of lasso_profile_is_session_dirty
* lasso/id-ff/profile.c: lasso_is_session_dirty must return FALSE if session is NULL.
This commit is contained in:
parent
012b7c3af5
commit
896d9abd3f
|
@ -275,7 +275,7 @@ lasso_profile_is_identity_dirty(LassoProfile *profile)
|
|||
gboolean
|
||||
lasso_profile_is_session_dirty(LassoProfile *profile)
|
||||
{
|
||||
return lasso_session_is_dirty(profile->session);
|
||||
return LASSO_IS_SESSION(profile->session) && lasso_session_is_dirty(profile->session);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue