On Fri, Jan 30, 2015 at 03:35:25PM +0100, Alvaro Neira Ayuso wrote: > diff --git a/examples/nft-ruleset-parse-file.c b/examples/nft-ruleset-parse-file.c > index a78e454..e6a78b4 100644 > --- a/examples/nft-ruleset-parse-file.c > +++ b/examples/nft-ruleset-parse-file.c > @@ -250,7 +250,8 @@ static int nft_ruleset_table(const struct nft_parse_ctx *ctx, uint32_t ctx_cmd, > type, > seq++); > > - nft_table_nlmsg_build_payload(nlh, table); > + if (table != NULL) > + nft_table_nlmsg_build_payload(nlh, table); > mnl_nlmsg_batch_next(batch); > nft_table_free(table); > return 0; This chunk doesn't belong here. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html