diff options
| author | Stefan Metzmacher <metze@samba.org> | 2018-05-11 06:43:14 +0200 |
|---|---|---|
| committer | Andrew Bartlett <abartlet@samba.org> | 2018-05-13 10:27:28 +0200 |
| commit | 9a513304adadd79d1c63d55fcf06b67ed45d43ba (patch) | |
| tree | 8ddf26723583393056704d38ff259a460a49f187 /python | |
| parent | 26c4084ad2d5f35d4e35026c96150759d062969a (diff) | |
| download | samba-9a513304adadd79d1c63d55fcf06b67ed45d43ba.tar.gz samba-9a513304adadd79d1c63d55fcf06b67ed45d43ba.tar.bz2 samba-9a513304adadd79d1c63d55fcf06b67ed45d43ba.zip | |
s4:lsa_lookup: remove TALLOC_FREE(state) after all dcesrv_lsa_Lookup{Names,Sids}_base_map() calls
This completes the regression fix of commit 7e091e505156381e385235ab4518b4d133a98497.
There might be strings allocated on state, which are part of the
result.
The reason for the TALLOC_FREE(state) was to cleanup the possible
irpc_handle before leaving the function. Now we call
TALLOC_FREE(state->wb.irpc_handle) explicitly in
dcesrv_lsa_Lookup{Names,Sids}_base_done() instead.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13420
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sun May 13 10:27:28 CEST 2018 on sn-devel-144
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
