This commit is contained in:
Love Hornquist Astrand
2009-11-03 23:37:40 -08:00
parent 7d6291e128
commit de84fec5a3

View File

@@ -237,7 +237,7 @@ krb5_get_error_message(krb5_context context, krb5_error_code code)
char buf[128];
str = com_right_r(context->et_list, code, buf, sizeof(buf));
if (str)
return stddup(str);
return strdup(str);
}
if (asprintf(&str, "<unknown error: %d>", (int)code) == -1)