chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9e9b13
)
basic/format-table: add missing va_end()
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Wed, 9 May 2018 23:22:29 +0000
(
01:22
+0200)
committer
Sven Eden
<yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000
(16:47 +0200)
CID #
1390930
, #
1390940
.
src/basic/format-table.c
patch
|
blob
|
history
diff --git
a/src/basic/format-table.c
b/src/basic/format-table.c
index 35948a602a1c2ba51648e6559abaf11c979543fe..774f1f17d2e1677c72beec252f2b18c2c2b1e4d5 100644
(file)
--- 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;
}