diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-11-17 19:56:14 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-11-17 19:56:14 +0100 |
commit | a31838eb3c40f4b70c629f94620f435214e414d4 (patch) | |
tree | 6d50af94959d74f1b843a3e33b29ed5486ee9e52 /source4/rpc_server | |
parent | 5c6c2619fb3c4b974c0acb8c29af0dca0bbcf7e1 (diff) | |
download | samba-a31838eb3c40f4b70c629f94620f435214e414d4.tar.gz samba-a31838eb3c40f4b70c629f94620f435214e414d4.tar.bz2 samba-a31838eb3c40f4b70c629f94620f435214e414d4.zip |
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).
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/winreg/rpc_winreg.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/rpc_server/winreg/rpc_winreg.c b/source4/rpc_server/winreg/rpc_winreg.c index c365d82875..7e35634fab 100644 --- a/source4/rpc_server/winreg/rpc_winreg.c +++ b/source4/rpc_server/winreg/rpc_winreg.c @@ -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; |