Re: [PATCH] perf tools: util: remove redundant va_end() in strbuf_addv()

2019-01-04 Thread Arnaldo Carvalho de Melo
Em Sat, Dec 29, 2018 at 03:17:50PM +0100, Mattias Jacobsson escreveu: > Each call to va_copy() should have one, and only one, corresponding call > to va_end(). In strbuf_addv() some code paths result in va_end() getting > called multiple times. Remove the superfluous va_end(). > > Fixes:

[PATCH] perf tools: util: remove redundant va_end() in strbuf_addv()

2018-12-29 Thread Mattias Jacobsson
Each call to va_copy() should have one, and only one, corresponding call to va_end(). In strbuf_addv() some code paths result in va_end() getting called multiple times. Remove the superfluous va_end(). Fixes: ce49d8436cff ("perf strbuf: Match va_{add,copy} with va_end") Signed-off-by: Mattias