From 5f9a4cbc1d1b5442fa179f69d2558309f7e9aec3 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 8 May 1990 15:59:08 +0000 Subject: [PATCH] return retval as appropriate git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@786 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/copy_addrs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/copy_addrs.c b/src/lib/krb5/krb/copy_addrs.c index 5218f764b..04042f68a 100644 --- a/src/lib/krb5/krb/copy_addrs.c +++ b/src/lib/krb5/krb/copy_addrs.c @@ -61,7 +61,7 @@ krb5_address ***outaddr; for (nelems = 0; inaddr[nelems]; nelems++) if (retval = krb5_copy_addr(inaddr[nelems], &tempaddr[nelems])) { krb5_free_address(tempaddr); - return ENOMEM; + return retval; } *outaddr = tempaddr; -- 2.26.2