OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_23-65-g1b75d83

Gerrit Code Review gerrit@openafs.org
Wed, 8 May 2013 05:56:32 -0700 (PDT)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 1b75d83a5daf4521fb372c402853864af2ef32b7
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: I68333d5f2dc907bf7a510f018469a14085ca3a3a
    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>
    (cherry picked from commit 4cda20f3d7846b10905645ec915a3ea29bce4f28)
    Reviewed-on: http://gerrit.openafs.org/9871

 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