1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3-lib/smbconf: fix uninitialized error code in smbconf_reg_init().

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu May 12 18:09:16 CEST 2011 on sn-devel-104
This commit is contained in:
Günther Deschner 2011-05-12 17:03:20 +02:00
parent c1ac023b58
commit 7da530e1e4

View File

@ -600,7 +600,7 @@ static sbcErr smbconf_reg_init(struct smbconf_ctx *ctx, const char *path)
}
ctx->path = talloc_strdup(ctx, path);
if (ctx->path == NULL) {
werr = WERR_NOMEM;
err = SBC_ERR_NOMEM;
goto done;
}