[PATCH][ARM] PR 62066: Call va_end on early return from va_list processing function

2015-01-16 Thread Kyrill Tkachov
Hi all, As the simple PR says we should call va_end before returning early from a function that started processing the va_list with va_start. The C spec agrees: Each invocation of the va_start and va_copy macros shall be matched by a corresponding invocation of the va_end macro in the same

Re: [PATCH][ARM] PR 62066: Call va_end on early return from va_list processing function

2015-01-16 Thread Ramana Radhakrishnan
On 16/01/15 16:56, Kyrill Tkachov wrote: Hi all, As the simple PR says we should call va_end before returning early from a function that started processing the va_list with va_start. The C spec agrees: Each invocation of the va_start and va_copy macros shall be matched by a corresponding