Merged revisions 97489 via svnmerge from
authorPhilippe Sultan <philippe.sultan@gmail.com>
Wed, 9 Jan 2008 16:59:09 +0000 (16:59 +0000)
committerPhilippe Sultan <philippe.sultan@gmail.com>
Wed, 9 Jan 2008 16:59:09 +0000 (16:59 +0000)
commit55240a4e35a66477f53a1cb6cb4a536b62908c5b
treecde72701f3c268ac00d09b73f9cee31f8174f2a0
parentaaddb77f424a9a29099992f65c5d9cbbf84d1fa3
Merged revisions 97489 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97489 | phsultan | 2008-01-09 17:44:24 +0100 (Wed, 09 Jan 2008) | 7 lines

Set the caller id within the gtalk_alloc function.

As underlined in issue #10437 by Josh, we need to prevent a possible
memory leak. We only set the name part of the caller id, the number
part is not relevant when dealing with JIDs.

Closes issue #11549.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_gtalk.c