From 55ab5a739c269e1d1de4e5f2c57f4b85fea1a65a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 10 May 2018 01:22:29 +0200 Subject: [PATCH] basic/format-table: add missing va_end() CID #1390930, #1390940. --- src/basic/format-table.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/basic/format-table.c b/src/basic/format-table.c index 35948a602..774f1f17d 100644 --- a/src/basic/format-table.c +++ b/src/basic/format-table.c @@ -648,6 +648,7 @@ int table_set_display(Table *t, size_t first_column, ...) { break; } + va_end(ap); return 0; } @@ -676,6 +677,7 @@ int table_set_sort(Table *t, size_t first_column, ...) { if (column == (size_t) -1) break; } + va_end(ap); return 0; } -- 2.30.2