diff options
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c index 9819df75ec..42310b41b0 100644 --- a/source3/passdb/pdb_interface.c +++ b/source3/passdb/pdb_interface.c @@ -53,7 +53,7 @@ BOOL smb_register_passdb(const char *name, pdb_init_function init, int version) } entry = smb_xmalloc(sizeof(struct pdb_init_function_entry)); - entry->name = name; + entry->name = smb_xstrdup(name); entry->init = init; DLIST_ADD(backends, entry); |