Fix a memleak
commit4231a5dc6b132c629adf5378d51000fe5ed30e60
authorQiao Yang <geoyang@ironport.com>
Fri, 5 Sep 2008 12:08:09 +0000 (5 14:08 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 8 Sep 2008 09:26:11 +0000 (8 11:26 +0200)
treedd0c952b0361eba3578008b70943113851eff31d
parent3749682921829162a6d35e4d589adc16cec4a9e5
Fix a memleak

request.extra_data is not freed if there is no extra_data in response or
when there is some error happens in processing. This patch will free the
buffer right after processing a request before sending back a response.
(cherry picked from commit be6f12273f171a3eb1967d2299064e57d737f6a4)
(cherry picked from commit 72865f5e4ff30861d58b928baaf7be3373301f37)
source/winbindd/winbindd.c