]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
darwin80-avoid-stack-free-20060915
authorDerrick Brashear <shadow@dementia.org>
Sat, 16 Sep 2006 01:10:23 +0000 (01:10 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 16 Sep 2006 01:10:23 +0000 (01:10 +0000)
thanks to apple for their help; all i did was code the patch

src/rx/DARWIN/rx_knet.c

index e4e156bf4a0c21863d49cbd51dee5128768751ff..1265dad989b5292cee7d97f7b6e846250778a380 100644 (file)
@@ -122,7 +122,9 @@ osi_NetReceive(osi_socket so, struct sockaddr_storage *saddr, int *slen,
     *alength -= resid;
     if (sa) {
        *slen = sa->sa_len;
+#ifndef AFS_DARWIN80_ENV
        FREE(sa, M_SONAME);
+#endif
     }
     return code;
 }