Fix memory corruption found by unit tests.
authorRussell Bryant <russell@russellbryant.com>
Sat, 20 Mar 2010 16:50:38 +0000 (16:50 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 20 Mar 2010 16:50:38 +0000 (16:50 +0000)
commit008930a3f20e68083837aef16e72551b71dbd221
treeb527f70e86d6751bc3a64013932efe922b8fcbcd
parent3da9f8ed19fb797a5defa8116225ede37876594a
Fix memory corruption found by unit tests.

ast_str_reset() was being called on a potentially uninitialized pointer.
Valgrind is my hero, once again.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@253579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
funcs/func_strings.c