git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b82254
)
s3: Remove a pointless if-statement
author
Volker Lendecke
<vl@samba.org>
Tue, 12 Jan 2010 12:53:01 +0000
(13:53 +0100)
committer
Volker Lendecke
<vl@samba.org>
Tue, 12 Jan 2010 12:55:07 +0000
(13:55 +0100)
source3/passdb/pdb_ldap.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_ldap.c
b/source3/passdb/pdb_ldap.c
index 1ab21e1b4d7f4c39137346868828d7c0ae4c5f83..30b27d4596d75f9123f924e1b8095b1b625e7391 100644
(file)
--- a/
source3/passdb/pdb_ldap.c
+++ b/
source3/passdb/pdb_ldap.c
@@
-6394,9
+6394,8
@@
NTSTATUS pdb_init_ldapsam(struct pdb_methods **pdb_method, const char *location)
trim_char( uri, '\"', '\"' );
nt_status = pdb_init_ldapsam_common(pdb_method, uri);
- if (uri) {
- TALLOC_FREE(uri);
- }
+
+ TALLOC_FREE(uri);
if (!NT_STATUS_IS_OK(nt_status)) {
return nt_status;