r14426: ensure res is initialised
authorAndrew Tridgell <tridge@samba.org>
Wed, 15 Mar 2006 05:48:39 +0000 (05:48 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:57:22 +0000 (13:57 -0500)
source/dsdb/samdb/ldb_modules/proxy.c

index e666de1414fd8da9268681d864ccf268937ef441..6a7d04d3312e4ac3d0fc4ff0855f5d7c8ef997e9 100644 (file)
@@ -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;