mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r13493: module_name and module_location are the same string. Fix a valgrind
error. Volker
This commit is contained in:
parent
e6d52c1e9d
commit
5a92df31d6
@ -173,14 +173,16 @@ NTSTATUS make_pdb_method_name(struct pdb_methods **methods, const char *selected
|
||||
}
|
||||
|
||||
DEBUG(5,("Found pdb backend %s\n", module_name));
|
||||
SAFE_FREE(module_name);
|
||||
|
||||
if ( !NT_STATUS_IS_OK( nt_status = entry->init(methods, module_location) ) ) {
|
||||
DEBUG(0,("pdb backend %s did not correctly init (error was %s)\n",
|
||||
selected, nt_errstr(nt_status)));
|
||||
SAFE_FREE(module_name);
|
||||
return nt_status;
|
||||
}
|
||||
|
||||
SAFE_FREE(module_name);
|
||||
|
||||
DEBUG(5,("pdb backend %s has a valid init\n", selected));
|
||||
|
||||
return nt_status;
|
||||
|
Loading…
Reference in New Issue
Block a user