OpenAFS CVS Commit: openafs/src/libafsrpc by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Wed, 01 Apr 2009 12:38:13 EDT


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

Modified Files:
      Tag: openafs-devel-1_5_x
	afsrpc.def 
Log Message:
DELTA DEVEL15-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 for openafs-devel-1_5_x follows ---
DEVEL15-xdr-free-20090401 openafs/src/libafsrpc/afsrpc.def 1.11.4.13 1.11.4.14