From 8cf78fd594ab20a03315a4a04941d37a682d22cf Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 23 Apr 2008 01:47:33 +0200 Subject: libsmbconf: remove unnecessary talloc success checks from smbconf.c talloc_stackframe() panics on NOMEM. Michael (This used to be commit be4f8447ccd044563f6b12793ea64d9f38741861) --- source3/lib/smbconf/smbconf.c | 4 ---- 1 file changed, 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); -- cgit