19 lines
613 B
Diff
19 lines
613 B
Diff
commit 8c629d398914b5669d9b719d2d271dfe7b453221
|
|
Author: Miroslav Lichvar <mlichvar@redhat.com>
|
|
Date: Tue Jul 10 17:23:04 2018 +0200
|
|
|
|
add missing va_end() call to logger_log()
|
|
|
|
diff --git a/logger.c b/logger.c
|
|
index ba0c62e..1322d7d 100644
|
|
--- a/logger.c
|
|
+++ b/logger.c
|
|
@@ -752,6 +752,7 @@ enum logger_ret_type logger_log(logger *l, const enum log_entry_type event, cons
|
|
rel_time_t sttl = va_arg(ap, rel_time_t);
|
|
uint8_t sclsid = va_arg(ap, int);
|
|
_logger_log_item_store(e, status, comm, skey, snkey, sttl, sclsid);
|
|
+ va_end(ap);
|
|
break;
|
|
}
|
|
|