ftweedal / 389-ds-base

Forked from 389-ds-base 6 years ago
Clone

8a4b7e9 Bug 709826 - Memory leak: when extra referrals configured

1 file Authored by nhosoi 12 years ago, Committed by rmeggins 12 years ago,
    Bug 709826 - Memory leak: when extra referrals configured
    
    https://bugzilla.redhat.com/show_bug.cgi?id=709826
    
    Description: "referrals" allocated in ber_scanf called with "[v]"
    option is an array of chars.  It should have been freed by
    slapi_ch_array_free, but slapi_ch_free was actually called, which
    does not releases the real strings, but just the array of pointers.
    
    This patch calls slapi_ch_array_free.
    (cherry picked from commit 5a6518b567f4be6ee6ec2171461256842a8ae3e6)