summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-03-15 05:48:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:22 -0500
commita088c2297d68385eb2869e73aaefd440606c5b4f (patch)
treef7a19b51af7574bc4ebcb55b85743a7113fe6cdb /source4
parent11e160c3d70dba17d73b51ee0f95520dd50b4a68 (diff)
downloadsamba-a088c2297d68385eb2869e73aaefd440606c5b4f.tar.gz
samba-a088c2297d68385eb2869e73aaefd440606c5b4f.tar.bz2
samba-a088c2297d68385eb2869e73aaefd440606c5b4f.zip
r14426: ensure res is initialised
(This used to be commit ce1326157c7e139a43ab31d4d1e366b78b69e26f)
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/proxy.c b/source4/dsdb/samdb/ldb_modules/proxy.c
index e666de1414..6a7d04d331 100644
--- a/source4/dsdb/samdb/ldb_modules/proxy.c
+++ b/source4/dsdb/samdb/ldb_modules/proxy.c
@@ -59,7 +59,7 @@ static int load_proxy_info(struct ldb_module *module)
{
struct proxy_data *proxy = talloc_get_type(module->private_data, struct proxy_data);
struct ldb_dn *dn;
- struct ldb_result *res;
+ struct ldb_result *res = NULL;
int ret;
const char *olddn, *newdn, *url, *username, *password, *oldstr, *newstr;
struct cli_credentials *creds;