ENOMEM, not ret
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24984 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -345,7 +345,7 @@ krb5_config_parse_file_multi (krb5_context context,
|
|||||||
if (home) {
|
if (home) {
|
||||||
asprintf(&newfname, "%s%s", home, &fname[1]);
|
asprintf(&newfname, "%s%s", home, &fname[1]);
|
||||||
if (newfname == NULL) {
|
if (newfname == NULL) {
|
||||||
krb5_set_error_message(context, ret,
|
krb5_set_error_message(context, ENOMEM,
|
||||||
N_("malloc: out of memory", ""));
|
N_("malloc: out of memory", ""));
|
||||||
return ENOMEM;
|
return ENOMEM;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user