X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=util%2Ferror_util.c;h=e64162c7a885e622fd591b44c9d9a2175342bbd6;hp=d6e60fc99e4e3dfb0de12fc5ebca09177f8fdea6;hb=a6b0772b60d9191fcc291358eec3d78bfea31f1c;hpb=2f40ca28a4d63df941525801735d05b5b2b86f91 diff --git a/util/error_util.c b/util/error_util.c index d6e60fc9..e64162c7 100644 --- a/util/error_util.c +++ b/util/error_util.c @@ -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 */ @@ -34,6 +34,7 @@ _internal_error (const char *format, ...) fprintf (stderr, "Internal error: "); vfprintf (stderr, format, va_args); + va_end (va_args); exit (1); }