fa9d246 KRB: Prevent dereference of a null pointer

1 file Authored by lslebodn 9 years ago, Committed by jhrozek 9 years ago,
    KRB: Prevent dereference of a null pointer
    
    Reported by: scan-build
        krb5_free_principal(cc->context, ccprinc);
                            ^~
    warning: Access to field 'context' results in a dereference of a null pointer
    (loaded from variable 'cc')
    
    Variable 'cc' needn't be initialised if function sss_open_ccache_as_user
    fails.
    
    Reviewed-by: Sumit Bose <sbose@redhat.com>