git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bbbeda
)
r24576: Implement endpwent
author
Kai Blin
<kai@samba.org>
Mon, 20 Aug 2007 11:41:36 +0000
(11:41 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 20:02:19 +0000
(15:02 -0500)
source/winbind/wb_samba3_cmd.c
patch
|
blob
|
history
diff --git
a/source/winbind/wb_samba3_cmd.c
b/source/winbind/wb_samba3_cmd.c
index 55a763f91ebaba7d1d9cffea7f7d34fa33fbd0ba..22f9fd5f5ac7d40104903df57749ab5b0f11de6c 100644
(file)
--- a/
source/winbind/wb_samba3_cmd.c
+++ b/
source/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;
}