Re: notmuch-0.21 bug report

Subject: Re: notmuch-0.21 bug report

Date: Mon, 25 Apr 2016 15:16:16 -0300

To: David Binderman, notmuch@notmuchmail.org

Cc:

From: David Bremner


David Binderman <dcb314@hotmail.com> writes:

> Hello there,
>
> [notmuch-count.c:207]: (error) Resource leak: input
>
> Source code is
>
>    if (notmuch_database_open (notmuch_config_get_database_path (config),
>                    NOTMUCH_DATABASE_MODE_READ_ONLY, &notmuch))
>     return EXIT_FAILURE;
>
> Suggest call fclose.
>
> Some duplicates:
>
> [notmuch-count.c:214]: (error) Resource leak: input
> [notmuch-count.c:202]: (error) Resource leak: input

Hi David;

Thanks for the report. fclose doesn't really make sense here; what is
that error message from?

d

Thread: