Re: [PATCH v3 07/16] create a notmuch_indexopts_t index options object

Subject: Re: [PATCH v3 07/16] create a notmuch_indexopts_t index options object

Date: Sat, 27 Feb 2016 09:06:32 -0400

To: Daniel Kahn Gillmor, Notmuch Mail

Cc:

From: David Bremner


Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:

> +
> +notmuch_indexopts_t *
> +notmuch_indexopts_create ()
> +{
> +    notmuch_indexopts_t *ret;
> +    
> +    ret = talloc_zero (NULL, notmuch_indexopts_t);
> +
> +    return ret;
> +}

I have the same question about using talloc with a NULL context. It
_looks_ like there is no actual benefit here?

d


Thread: