mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s4:WINREG RPC server - remove a "talloc_free"
I assume that this "talloc_free" isn't necessary since the DCERPC server frees the handle itself (we got always warnings about this).
This commit is contained in:
parent
5c6c2619fb
commit
a31838eb3c
@ -97,8 +97,6 @@ static WERROR dcesrv_winreg_CloseKey(struct dcesrv_call_state *dce_call,
|
||||
|
||||
DCESRV_PULL_HANDLE_FAULT(h, r->in.handle, HTYPE_REGKEY);
|
||||
|
||||
talloc_free(h);
|
||||
|
||||
ZERO_STRUCTP(r->out.handle);
|
||||
|
||||
return WERR_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user