svn commit: samba r24576 - in branches/SAMBA_4_0/source/winbind: .

kai at samba.org kai at samba.org
Mon Aug 20 11:41:37 GMT 2007


Author: kai
Date: 2007-08-20 11:41:36 +0000 (Mon, 20 Aug 2007)
New Revision: 24576

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24576

Log:
Implement endpwent

Modified:
   branches/SAMBA_4_0/source/winbind/wb_samba3_cmd.c


Changeset:
Modified: branches/SAMBA_4_0/source/winbind/wb_samba3_cmd.c
===================================================================
--- branches/SAMBA_4_0/source/winbind/wb_samba3_cmd.c	2007-08-20 11:38:00 UTC (rev 24575)
+++ branches/SAMBA_4_0/source/winbind/wb_samba3_cmd.c	2007-08-20 11:41:36 UTC (rev 24576)
@@ -807,7 +807,14 @@
 
 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;
 }



More information about the samba-cvs mailing list