cppcheck: va_list 'args' was opened but not closed by va_end()

Change-Id: Id7602dd19ac142dbe2680ddf7eab308a087e971a