git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation
[samba.git]
/
source3
/
registry
/
reg_frontend.c
diff --git
a/source3/registry/reg_frontend.c
b/source3/registry/reg_frontend.c
index a9dfb52f011b36250f129b075ed0871632df6b3c..1f8c936290135f473b988c1db5ffbb15f8d338f1 100644
(file)
--- a/
source3/registry/reg_frontend.c
+++ b/
source3/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;
}