karelzak / mutt-kz

mutt-kz is DEPRECATED in favor of neomutt project.
https://neomutt.org
Other
296 stars 51 forks source link

notmuch: Plug a leaked notmuch DB handle in get_count() #39

Closed tsto closed 11 years ago

tsto commented 11 years ago

nm_nonctx_get_count() was leaking its notmuch database handle if NOTMUCH_API_3 was in use. Looks like it missed the same treatment that the other call sites got to do this.