diff options
author | Kai Blin <kai@samba.org> | 2007-08-20 11:41:36 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:02:19 -0500 |
commit | 67a9225b9b03db35bc18f97bfdc0279c48d4b632 (patch) | |
tree | c686b35c9160aa02deac673c1cf96e5c8d356057 | |
parent | 01db94b95321c04107982ea211d1521cda862fa4 (diff) | |
download | samba-67a9225b9b03db35bc18f97bfdc0279c48d4b632.tar.gz samba-67a9225b9b03db35bc18f97bfdc0279c48d4b632.tar.bz2 samba-67a9225b9b03db35bc18f97bfdc0279c48d4b632.zip |
r24576: Implement endpwent
(This used to be commit ef93a7991d3b4445ba87f964f2f17c33044ba8c4)
-rw-r--r-- | source4/winbind/wb_samba3_cmd.c | 7 |
1 files changed, 7 insertions, 0 deletions
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; } |