diff options
author | Volker Lendecke <vl@samba.org> | 2009-06-14 12:58:19 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-06-14 22:22:10 +0200 |
commit | 49eccee209f01af043d084742bbbc9d4519eddfc (patch) | |
tree | f9b2e6628d8a0a8bcda87ed710d6421d97a725ad /source3/winbindd/winbindd.h | |
parent | 97ba4f6efdcdb1e4f5d43ddeadfd06c7d96213f4 (diff) | |
download | samba-49eccee209f01af043d084742bbbc9d4519eddfc.tar.gz samba-49eccee209f01af043d084742bbbc9d4519eddfc.tar.xz samba-49eccee209f01af043d084742bbbc9d4519eddfc.zip |
Remove "winbindd_request" and "winbindd_response" from winbindd_cli_state
This shrinks the memory footprint of an idle client by 5592 bytes to 60 bytes
on my 32-bit box.
Diffstat (limited to 'source3/winbindd/winbindd.h')
-rw-r--r-- | source3/winbindd/winbindd.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/winbindd/winbindd.h b/source3/winbindd/winbindd.h index 4b4fc04d6d5..804c0afa5d7 100644 --- a/source3/winbindd/winbindd.h +++ b/source3/winbindd/winbindd.h @@ -58,10 +58,8 @@ struct winbindd_cli_state { NTSTATUS (*recv_fn)(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct winbindd_response **presp); struct winbindd_request *request; /* Request from client */ - struct winbindd_request _request; struct tevent_queue *out_queue; - struct winbindd_response *response; - struct winbindd_response _response; /* Respose to client */ + struct winbindd_response *response; /* Respose to client */ bool getpwent_initialized; /* Has getpwent_state been * initialized? */ bool getgrent_initialized; /* Has getgrent_state been |