From d912d6fcef28fad1c6e1c04a3a2eb4ed9e1a4ca3 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 8 Jun 2006 01:02:14 +0000 Subject: r16087: Fix silly cut-and-paste typo that cost me much of my afternoon... This only affects my new partitions module, which I will post soon, but should be fixed anyway. Andrew Bartlett (This used to be commit 8912c4e057eb3962321245cf49b92999afcc64fc) --- source4/lib/ldb/ldb_ildap/ldb_ildap.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source4/lib/ldb/ldb_ildap/ldb_ildap.c') diff --git a/source4/lib/ldb/ldb_ildap/ldb_ildap.c b/source4/lib/ldb/ldb_ildap/ldb_ildap.c index 340f89e48f..9251451549 100644 --- a/source4/lib/ldb/ldb_ildap/ldb_ildap.c +++ b/source4/lib/ldb/ldb_ildap/ldb_ildap.c @@ -833,7 +833,7 @@ static int ildb_connect(struct ldb_context *ldb, const char *url, return -1; } (*module)->ldb = ldb; - (*module)->prev = ldb->modules->next = NULL; + (*module)->prev = (*module)->next = NULL; (*module)->private_data = ildb; (*module)->ops = &ildb_ops; @@ -869,9 +869,6 @@ static int ildb_connect(struct ldb_context *ldb, const char *url, return 0; failed: - if (ldb->modules) { - ldb->modules->private_data = NULL; - } talloc_free(ildb); return -1; } -- cgit