res_musiconhold.c: Release any format refs before memset().
authorRichard Mudgett <rmudgett@digium.com>
Mon, 25 Aug 2014 16:45:40 +0000 (16:45 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 25 Aug 2014 16:45:40 +0000 (16:45 +0000)
commitfefa6fba82e36a9dd0e1eab67c87345894cce14a
tree966fdd55ed8dd8b8cda6b09fa3dd79cd47c8e440
parent2b19d94a7133aff43909c367aec54ed9e584b568
res_musiconhold.c: Release any format refs before memset().

* Clear the channel music_state pointer before destroying the music_state
object for safety.
........

Merged revisions 422037 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@422038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_musiconhold.c