mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
STABLE14-darwin80-avoid-stack-free-20060915
thanks to apple for their help; all i did was code the patch (cherry picked from commit 3473fa4ec7c8a7362003ba3d278345339bbf3e36)
This commit is contained in:
parent
59474c0831
commit
27efb7d20f
@ -127,7 +127,9 @@ osi_NetReceive(osi_socket so, struct sockaddr_in *addr, struct iovec *dvec,
|
|||||||
*addr = *(struct sockaddr_in *)sa;
|
*addr = *(struct sockaddr_in *)sa;
|
||||||
} else
|
} else
|
||||||
printf("Unknown socket family %d in NetReceive\n", sa->sa_family);
|
printf("Unknown socket family %d in NetReceive\n", sa->sa_family);
|
||||||
|
#ifndef AFS_DARWIN80_ENV
|
||||||
FREE(sa, M_SONAME);
|
FREE(sa, M_SONAME);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user