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, ¬much)) return EXIT_FAILURE; Suggest call fclose. Some duplicates: [notmuch-count.c:214]: (error) Resource leak: input [notmuch-count.c:202]: (error) Resource leak: input Regards David Binderman