summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_winreg_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_winreg_nt.c b/source3/rpc_server/srv_winreg_nt.c
index f733b14c63..c45be08454 100644
--- a/source3/rpc_server/srv_winreg_nt.c
+++ b/source3/rpc_server/srv_winreg_nt.c
@@ -572,7 +572,7 @@ WERROR _winreg_EnumKey(pipes_struct *p, struct policy_handle *handle, uint32_t e
if ( last_changed_time ) {
*last_changed_time = 0;
}
- keyclass->name = NULL;
+ keyclass->name = "";
if ( (name->name = talloc_strdup( p->mem_ctx, subkey )) == NULL ) {
status = WERR_NOMEM;
}