]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix memory leak when using MeetMeAdmin 'e' option with user specified
authorMatthew Jordan <mjordan@digium.com>
Fri, 6 Apr 2012 20:32:13 +0000 (20:32 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 6 Apr 2012 20:32:13 +0000 (20:32 +0000)
commitb8e74584802e407b05a0dda94ab86283b24dc64b
treee932240673cec714293a7e8e48b0ff44518378e1
parent4996e7978fab511f67cdfe4d66fb1666ccb78f73
Fix memory leak when using MeetMeAdmin 'e' option with user specified

A memory leak/reference counting leak occurs if the MeetMeAdmin 'e' command
(eject last user that joined) is used in conjunction with a specified user.
Regardless of the command being executed, if a user is specified for the
command, MeetMeAdmin will look up that user.  Because the 'e' option kicks
the last user that joined, as opposed to the one specified, the reference to
the user specified by the command would be leaked when the user variable
was assigned to the last user that joined.
........

Merged revisions 361558 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@361560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_meetme.c