projects
/
notmuch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
emacs/address: use member instead of memq to check for pair
[notmuch.git]
/
notmuch-count.c
diff --git
a/notmuch-count.c
b/notmuch-count.c
index 50b0c193f04625c794b9ab9287ab6bdd9c4f29da..97281374b22252059fcbf65ff28d426615b2a632 100644
(file)
--- a/
notmuch-count.c
+++ b/
notmuch-count.c
@@
-204,6
+204,8
@@
notmuch_count_command (notmuch_config_t *config, int argc, char *argv[])
if (batch && opt_index != argc) {
fprintf (stderr, "--batch and query string are not compatible\n");
+ if (input)
+ fclose (input);
return EXIT_FAILURE;
}