From 66ba34188c8300a8b4d5f266a392dc1924d9f755 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 1 Aug 2003 07:46:42 +0000 Subject: Fix a memory leak. I did not check all the calls to winbindd_request, but we might leak the extra_data somewhere else as well. Volker (This used to be commit 5d379345fa06f4253f67b40cb8127b70072db561) --- source3/nsswitch/wb_common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/nsswitch') diff --git a/source3/nsswitch/wb_common.c b/source3/nsswitch/wb_common.c index acaf0ed17c..79553e9e4f 100644 --- a/source3/nsswitch/wb_common.c +++ b/source3/nsswitch/wb_common.c @@ -239,6 +239,8 @@ int winbind_open_pipe_sock(void) } } + SAFE_FREE(response.extra_data); + return winbindd_fd; #else return -1; -- cgit