]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_fax: Fix reference leak in fax_v21_session_new. 84/3084/1
authorCorey Farrell <git@cfware.com>
Wed, 22 Jun 2016 20:04:54 +0000 (16:04 -0400)
committerCorey Farrell <git@cfware.com>
Wed, 22 Jun 2016 20:11:44 +0000 (15:11 -0500)
commitd4f0cc5ec5613a69744ec26f731e2f7b49435163
tree5160e662d228af6963b90b22be464cb46dd03c74
parentff2573bc3a71abddee79914cc88bb2f09fdf2ec4
res_fax: Fix reference leak in fax_v21_session_new.

fax_v21_session_new created a session details object but only released
the allocation reference during error conditions.  fax_session_new adds
it's own reference to details if needed so the caller is always
responsible for cleaning it's own reference.

ASTERISK-26141 #close

Change-Id: Ie7fc52a83b6596ce9ce2d5a2bd9f3e204f48fc88
res/res_fax.c