OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3754-g4cda20f
Gerrit Code Review
gerrit@openafs.org
Tue, 7 May 2013 18:48:32 -0700 (PDT)
The following commit has been merged in the master branch:
commit 4cda20f3d7846b10905645ec915a3ea29bce4f28
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Mon May 6 15:12:54 2013 -0400
Windows: AFSLibExFreePool*() macros
Introduce the AFSLibExFreePool() and AFSLibExFreePoolWithTag() macros
which simply call ExFreePool() and ExFreePoolWithTag().
The prefix AFSLib indicates that memory allocated by
AFSLibExAllocatePoolWithTag() must be freed before unloading.
AFSExFreePool*() cannot be used because that is a pointer to a
function provided by AFSRedir.sys which may not be assigned when
memory must be freed.
The only time that ExFreePool() should be used is if the memory was
allocated by a system function.
Change-Id: If56b762d2b6d857dbe415171401d64ca10a1e9ea
Reviewed-on: http://gerrit.openafs.org/9853
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsrdr/kernel/lib/AFSCommSupport.cpp | 3 +-
src/WINNT/afsrdr/kernel/lib/AFSDirControl.cpp | 4 +-
src/WINNT/afsrdr/kernel/lib/AFSGeneric.cpp | 71 ++++++++++++++++-------
src/WINNT/afsrdr/kernel/lib/AFSInit.cpp | 10 ++-
src/WINNT/afsrdr/kernel/lib/AFSWorker.cpp | 43 +++++++++-----
src/WINNT/afsrdr/kernel/lib/Include/AFSCommon.h | 4 +
6 files changed, 94 insertions(+), 41 deletions(-)
--
OpenAFS Master Repository