From 8bd03b19aa4cbbbdd3c8452e7951d90179d1cfd6 Mon Sep 17 00:00:00 2001 From: Nathaniel Nicandro Date: Mon, 13 Feb 2023 22:20:30 -0600 Subject: [PATCH] src/core.c: Add missing calls to `va_end` --- src/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core.c b/src/core.c index 58f5cdc..7e319e1 100644 --- a/src/core.c +++ b/src/core.c @@ -98,6 +98,7 @@ ezmq_signal(emacs_value err, int nargs, ...) data[i] = va_arg(args, emacs_value); } SIGNAL(err, FUNCALL(Qlist, nargs, data)); + va_end(args); } static void @@ -126,6 +127,7 @@ ezmq_wrong_type_argument(emacs_value val, int nvalid, ...) } else { SIGNAL(Qwrong_type_argument, LIST(1, val)); } + va_end(args); } void