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:
parent
c1ac023b58
commit
7da530e1e4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user