diff options
author | Gerald Carter <jerry@samba.org> | 2005-06-13 19:53:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:57:13 -0500 |
commit | c7081a0acde413651468b08193b453e778c59dfa (patch) | |
tree | d29974e552e97a3b65707688aa58266aca7ab80e /source3/rpc_server | |
parent | c52e7fdf78db56aa994d2bd9c2613ccef7679986 (diff) | |
download | samba-c7081a0acde413651468b08193b453e778c59dfa.tar.gz samba-c7081a0acde413651468b08193b453e778c59dfa.tar.bz2 samba-c7081a0acde413651468b08193b453e778c59dfa.zip |
r7547: removing unused fields in the REGISTRY_KEY structure associated with open handles
(This used to be commit ffc7bd87d8a03d8269ae6d0b9e314f8f20003a06)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_reg_nt.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/rpc_server/srv_reg_nt.c b/source3/rpc_server/srv_reg_nt.c index 9792592c19..9df8e9b5fc 100644 --- a/source3/rpc_server/srv_reg_nt.c +++ b/source3/rpc_server/srv_reg_nt.c @@ -43,9 +43,6 @@ struct generic_mapping reg_map = { REG_KEY_READ, REG_KEY_WRITE, REG_KEY_EXECUTE, REG_KEY_ALL }; -static REGISTRY_KEY *regkeys_list; - - /****************************************************************** free() function for REGISTRY_KEY *****************************************************************/ @@ -54,8 +51,6 @@ static void free_regkey_info(void *ptr) { REGISTRY_KEY *info = (REGISTRY_KEY*)ptr; - DLIST_REMOVE(regkeys_list, info); - SAFE_FREE(info); } @@ -162,9 +157,6 @@ static WERROR open_registry_key(pipes_struct *p, POLICY_HND *hnd, REGISTRY_KEY * if ( ! NT_STATUS_IS_OK(result) ) SAFE_FREE( regkey ); - else - DLIST_ADD( regkeys_list, regkey ); - DEBUG(7,("open_registry_key: exit\n")); |