r14426: ensure res is initialised
[abartlet/samba.git/.git] / source4 / 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;