Avoid allocating memory for a thread that don't need it. Also, this memory was not...
authorEliel C. Sardanons <eliels@gmail.com>
Tue, 9 Dec 2008 14:49:30 +0000 (14:49 +0000)
committerEliel C. Sardanons <eliels@gmail.com>
Tue, 9 Dec 2008 14:49:30 +0000 (14:49 +0000)
commitec28f57c419f382c301ed7ef060d89c4172c36fa
treee5379a58c772cc50717c4d6e87c60bab1eb8d50c
parent390b5bbcd64552aa468c08fea6b5308ad3d566a4
Avoid allocating memory for a thread that don't need it. Also, this memory was not being freed until the
main thread ends. (That is never).

(closes issue #14040)
Reported by: eliel
Patches:
      func_odbc.c.patch uploaded by eliel (license 64)

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