]> git.notmuchmail.org Git - notmuch/blobdiff - util/error_util.c
emacs: Add new option notmuch-search-hide-excluded
[notmuch] / util / error_util.c
index d6e60fc99e4e3dfb0de12fc5ebca09177f8fdea6..e64162c7a885e622fd591b44c9d9a2175342bbd6 100644 (file)
@@ -13,7 +13,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see http://www.gnu.org/licenses/ .
+ * along with this program.  If not, see https://www.gnu.org/licenses/ .
  *
  * Author: Carl Worth <cworth@cworth.org>
  */
@@ -34,6 +34,7 @@ _internal_error (const char *format, ...)
     fprintf (stderr, "Internal error: ");
     vfprintf (stderr, format, va_args);
 
+    va_end (va_args);
     exit (1);
 }