command/list: reset used size after the list has been processed

This commit is contained in:
Andrzej Rybczak 2014-09-16 12:54:16 +02:00 committed by Max Kellermann
parent e304d0f8ee
commit a0ef27a0cd
2 changed files with 3 additions and 0 deletions

2
NEWS
View File

@ -1,4 +1,6 @@
ver 0.18.15 (not yet released)
* command
- list: reset used size after the list has been processed
* work around build failure on NetBSD
ver 0.18.14 (2014/09/11)

View File

@ -27,6 +27,7 @@ void
CommandListBuilder::Reset()
{
list.clear();
size = 0;
mode = Mode::DISABLED;
}