From: John Kohl Date: Tue, 8 May 1990 15:59:08 +0000 (+0000) Subject: return retval as appropriate X-Git-Tag: krb5-1.0-alpha2~619 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f9a4cbc1d1b5442fa179f69d2558309f7e9aec3;p=krb5.git return retval as appropriate git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@786 dc483132-0cff-0310-8789-dd5450dbe970 --- 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;