https://gitlab.com/samba-team/samba/-/blob/master/nsswitch/libwbclient/wbc_util.c#L308 You need to call the destructor, not manually release the memory: - if (response.extra_data.data) - free(response.extra_data.data); + winbindd_free_response(&response);
Thanks for the report. I've put this into my normal queue of cleanup patches, it will show up upstream in the next few weeks.
Thanks