From 67a9225b9b03db35bc18f97bfdc0279c48d4b632 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Mon, 20 Aug 2007 11:41:36 +0000 Subject: r24576: Implement endpwent (This used to be commit ef93a7991d3b4445ba87f964f2f17c33044ba8c4) --- source4/winbind/wb_samba3_cmd.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source4/winbind/wb_samba3_cmd.c b/source4/winbind/wb_samba3_cmd.c index 55a763f91e..22f9fd5f5a 100644 --- a/source4/winbind/wb_samba3_cmd.c +++ b/source4/winbind/wb_samba3_cmd.c @@ -807,7 +807,14 @@ NTSTATUS wbsrv_samba3_getpwent(struct wbsrv_samba3_call *s3call) NTSTATUS wbsrv_samba3_endpwent(struct wbsrv_samba3_call *s3call) { + struct wbsrv_pwent *pwent = + talloc_get_type(s3call->wbconn->protocol_private_data, + struct wbsrv_pwent); DEBUG(5, ("wbsrv_samba3_endpwent called\n")); + + talloc_free(pwent); + + s3call->wbconn->protocol_private_data = NULL; s3call->response.result = WINBINDD_OK; return NT_STATUS_OK; } -- cgit