From 971ad84f9413fda8903eb3b0a62ae0a474eefbc4 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Fri, 31 Aug 1990 12:03:30 +0000 Subject: [PATCH] use retval for return val git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1063 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/copy_princ.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/copy_princ.c b/src/lib/krb5/krb/copy_princ.c index a374d156e..cdbdfab78 100644 --- a/src/lib/krb5/krb/copy_princ.c +++ b/src/lib/krb5/krb/copy_princ.c @@ -41,7 +41,7 @@ krb5_principal *outprinc; for (nelems = 0; inprinc[nelems]; nelems++) if (retval = krb5_copy_data(inprinc[nelems], &tempprinc[nelems])) { krb5_free_principal(tempprinc); - return ENOMEM; + return retval; } *outprinc = tempprinc; -- 2.26.2