OpenAFS CVS Commit: openafs/src/libafsrpc by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Wed, 01 Apr 2009 12:37:51 EDT


Update of /cvs/openafs/src/libafsrpc
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-head/src/libafsrpc

Modified Files:
	afsrpc.def 
Log Message:
DELTA xdr-free-20090401
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

add xdr_free() and export it from afsrpc.dll.  This permits applications
to free memory allocated within the xdr routines with the same run time
library memory management routines as was used to allocate it.

This is necessary on Windows to prevent memory corruption.

VL_GetAddrsU() is an example where a xdr array is allocated in the 
library and must be freed by the application.



--- DELTA config follows ---
xdr-free-20090401 openafs/src/libafsrpc/afsrpc.def 1.24 1.25