diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_winreg_nt.c | 2 |
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 631386c078..873224085c 100644 --- a/source3/rpc_server/srv_winreg_nt.c +++ b/source3/rpc_server/srv_winreg_nt.c @@ -790,7 +790,7 @@ WERROR _winreg_RestoreKey(pipes_struct *p, struct winreg_RestoreKey *r) if ( !r->in.filename || !r->in.filename->name ) return WERR_INVALID_PARAM; - fname - talloc_strdup(p->mem_ctx, r->in.filename->name); + fname = talloc_strdup(p->mem_ctx, r->in.filename->name); if (!fname) { return WERR_NOMEM; } |