1
0
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:
Matthias Dieter Wallnöfer 2009-11-17 19:56:14 +01:00
parent 5c6c2619fb
commit a31838eb3c

View File

@ -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;