res_pjsip_session: Fix memory leak of direct media format capabilities
authorMatthew Jordan <mjordan@digium.com>
Thu, 21 Nov 2013 19:22:18 +0000 (19:22 +0000)
committerMatthew Jordan <mjordan@digium.com>
Thu, 21 Nov 2013 19:22:18 +0000 (19:22 +0000)
commit92af2b2e26a58aa2b114fe22cdb6458091f2d561
treea42eaca8569c2f0eed00d941dedfab45df61b41f
parent00e9a136bbd6d5b8e5e7933730b7a2a611c78e4a
res_pjsip_session: Fix memory leak of direct media format capabilities

The direct media format capabilities are always allocated in
ast_sip_session_alloc and were not freed in the session destructor. Whoops.

(This being the third whoops caught by Scott and Nitesh's valgrind work for
the Asterisk Test Suite. Nifty!)
........

Merged revisions 402968 from http://svn.asterisk.org/svn/asterisk/branches/12

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