summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2005-08-18 16:27:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:33:33 -0500
commit7c7b93f6497737a09d3e76a626ee4f20284effde (patch)
treedc954f2db21d559732c0bbd41794e43b348563a3 /source4/lib/ldb/common
parentac90ddfdb28050912ecab0e998089b93216c5c35 (diff)
downloadsamba-7c7b93f6497737a09d3e76a626ee4f20284effde.tar.gz
samba-7c7b93f6497737a09d3e76a626ee4f20284effde.tar.bz2
samba-7c7b93f6497737a09d3e76a626ee4f20284effde.zip
r9393: Fix ldb standalone build
(This used to be commit 796d0ea2fcf5132b157a397cc1a54aa26c042691)
Diffstat (limited to 'source4/lib/ldb/common')
-rw-r--r--source4/lib/ldb/common/ldb_dn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c
index df95e37dac..12078231b8 100644
--- a/source4/lib/ldb/common/ldb_dn.c
+++ b/source4/lib/ldb/common/ldb_dn.c
@@ -353,6 +353,7 @@ struct ldb_dn *ldb_dn_explode(void *mem_ctx, const char *dn)
/* Allocate a structure to hold the exploded DN */
edn = ldb_dn_new(mem_ctx);
+ pdn = NULL;
/* Empty DNs */
if (dn[0] == '\0') {