diff options
author | Michael Adam <obnox@samba.org> | 2008-04-23 01:47:33 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-04-23 01:47:33 +0200 |
commit | 8cf78fd594ab20a03315a4a04941d37a682d22cf (patch) | |
tree | a429e57e8fe9700de1b5ddc42b1aa13e9fb10a17 /source3/lib/smbconf | |
parent | fb9232c0a98d9ce600e379dd03ee6fa3cd73cba5 (diff) | |
download | samba-8cf78fd594ab20a03315a4a04941d37a682d22cf.tar.gz samba-8cf78fd594ab20a03315a4a04941d37a682d22cf.tar.bz2 samba-8cf78fd594ab20a03315a4a04941d37a682d22cf.zip |
libsmbconf: remove unnecessary talloc success checks from smbconf.c
talloc_stackframe() panics on NOMEM.
Michael
(This used to be commit be4f8447ccd044563f6b12793ea64d9f38741861)
Diffstat (limited to 'source3/lib/smbconf')
-rw-r--r-- | source3/lib/smbconf/smbconf.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/lib/smbconf/smbconf.c b/source3/lib/smbconf/smbconf.c index 00b9ba3e07..1a9b4e07f9 100644 --- a/source3/lib/smbconf/smbconf.c +++ b/source3/lib/smbconf/smbconf.c @@ -106,10 +106,6 @@ WERROR smbconf_get_config(struct smbconf_ctx *ctx, } tmp_ctx = talloc_stackframe(); - if (tmp_ctx == NULL) { - werr = WERR_NOMEM; - goto done; - } werr = smbconf_get_share_names(ctx, tmp_ctx, &tmp_num_shares, &tmp_share_names); |