From cdf2d8181ce0a9dafa3fdadd1e2942e9ff7432f1 Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Tue, 4 Sep 2007 10:26:57 +0300 Subject: [PATCH] More missing va_ends. Somehow, these slipped from commit af14d00d17c0be75ec3fd8fac1011064ac40b54b yesterday. --- src/main/event.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/event.c b/src/main/event.c index 91e1c0c9f..9b3bc5dca 100644 --- a/src/main/event.c +++ b/src/main/event.c @@ -177,6 +177,7 @@ trigger_event(int id, ...) va_start(ap, id); trigger_event_va(id, ap); + va_end(ap); } void @@ -187,6 +188,7 @@ trigger_event_name(unsigned char *name, ...) va_start(ap, name); trigger_event_va(id, ap); + va_end(ap); } static inline void