Add va_end calls to __ast_str_helper.
authorMark Michelson <mmichelson@digium.com>
Tue, 16 Feb 2010 23:44:33 +0000 (23:44 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 16 Feb 2010 23:44:33 +0000 (23:44 +0000)
commit68c6175f872f76ad047b776759cb6c80b3a7a7c4
tree61891ce87fdddca6daede163f75da3668364c0ee
parent13d7c1e6bd8c74dbe618d5a4e42a5cd5d8389ba5
Add va_end calls to __ast_str_helper.

According to the man page for stdarg(3),
"Each invocation of va_copy() must be matched by a
corresponding invocation of va_end() in the same
function."

There were several cases in __ast_str_helper where
va_copy was not matched with a corresponding call
to va_end.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@247076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/strings.c