diff options
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")); |