Merge pull request #162 from aaptel/fix-null-typo

lib/krb5/pac.c: fix NULL check typo
This commit is contained in:
Love Hörnquist Åstrand
2016-03-10 11:24:51 +01:00

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);
}