lib/krb5/pac.c: fix NULL check typo

This commit is contained in:
aaptel
2016-03-10 10:33:53 +01:00
parent 8a950e93ae
commit 08a2d1a320

View File

@@ -771,7 +771,7 @@ build_logon_name(krb5_context context,
s2_len = (ucs2_len + 1) * 2;
s2 = malloc(s2_len);
if (ucs2 == NULL) {
if (s2 == NULL) {
free(ucs2);
return krb5_enomem(context);
}