notmuch-0.21 bug report

David Bremner david at tethera.net
Mon Apr 25 11:16:16 PDT 2016


David Binderman <dcb314 at 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


More information about the notmuch mailing list