summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-02-26 10:53:06 +0100
committerStefan Metzmacher <metze@samba.org>2010-02-26 23:26:35 +0100
commitb28afd2bcc825e9fef415f3a256e39e4af1ae84e (patch)
tree911843fffa4da898d220cb0138f6f6bbea4559ad /source4/lib
parent47fafe801b5a4a054dcde301b892cda9c0ababb0 (diff)
downloadsamba-b28afd2bcc825e9fef415f3a256e39e4af1ae84e.tar.gz
samba-b28afd2bcc825e9fef415f3a256e39e4af1ae84e.tar.bz2
samba-b28afd2bcc825e9fef415f3a256e39e4af1ae84e.zip
s4:ldb_dn: fix an uninitialized variable (found by make valgrindtest)
metze
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/common/ldb_dn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c
index ef4cead0e1..04e769f031 100644
--- a/source4/lib/ldb/common/ldb_dn.c
+++ b/source4/lib/ldb/common/ldb_dn.c
@@ -805,7 +805,7 @@ static int ldb_dn_extended_component_compare(const void *p1, const void *p2)
char *ldb_dn_get_extended_linearized(void *mem_ctx, struct ldb_dn *dn, int mode)
{
const char *linearized = ldb_dn_get_linearized(dn);
- char *p;
+ char *p = NULL;
int i;
if (!linearized) {