summaryrefslogtreecommitdiffstats
path: root/source/registry/reg_frontend.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/registry/reg_frontend.c')
-rw-r--r--source/registry/reg_frontend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/registry/reg_frontend.c b/source/registry/reg_frontend.c
index a9dfb52f011..1f8c9362901 100644
--- a/source/registry/reg_frontend.c
+++ b/source/registry/reg_frontend.c
@@ -154,7 +154,7 @@ BOOL fetch_reg_keys_specific( REGISTRY_KEY *key, char** subkey, uint32 key_index
if ( !(s = regsubkey_ctr_specific_key( &ctr, key_index )) )
return False;
- *subkey = strdup( s );
+ *subkey = SMB_STRDUP( s );
return True;
}