OpenAFS CVS Commit: openafs/src/rx by jaltman

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


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

Modified Files:
      Tag: openafs-devel-1_5_x
	xdr.c xdr_prototypes.h 
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/rx/xdr.c 1.11.4.2 1.11.4.3
DEVEL15-xdr-free-20090401 openafs/src/rx/xdr_prototypes.h 1.8.4.2 1.8.4.3