summaryrefslogtreecommitdiff
path: root/nsswitch/wb_common.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2021-11-22 18:11:27 +0100
committerStefan Metzmacher <metze@samba.org>2021-11-30 15:53:34 +0000
commit41108b9ed9f32ca9ad1b3d4a48a91a6f22c65db6 (patch)
tree6b70b2446002e04e04bcbb0eefa74003b9709524 /nsswitch/wb_common.c
parentf3c5980f76f30c65378623e4f5b25e73d4ace25b (diff)
downloadsamba-41108b9ed9f32ca9ad1b3d4a48a91a6f22c65db6.tar.gz
nsswitch: move winbindd_free_response() as inline function to winbind_struct_protocol.h
nsswitch/wb_common.c will be made completely internal soon. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'nsswitch/wb_common.c')
-rw-r--r--nsswitch/wb_common.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/nsswitch/wb_common.c b/nsswitch/wb_common.c
index 45c1969acc2..1a3ed1241c5 100644
--- a/nsswitch/wb_common.c
+++ b/nsswitch/wb_common.c
@@ -67,16 +67,6 @@ static void put_wb_global_ctx(void)
return;
}
-/* Free a response structure */
-
-void winbindd_free_response(struct winbindd_response *response)
-{
- /* Free any allocated extra_data */
-
- if (response)
- SAFE_FREE(response->extra_data.data);
-}
-
void winbind_set_client_name(const char *name)
{
if (name == NULL || strlen(name) == 0) {