[Asterisk-code-review] res fax: Fix reference leak in fax v21 session new. (asterisk[13])

Corey Farrell asteriskteam at digium.com
Wed Jun 22 15:10:40 CDT 2016


Corey Farrell has uploaded a new patch set (#2).

Change subject: res_fax: Fix reference leak in fax_v21_session_new.
......................................................................

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
---
M res/res_fax.c
1 file changed, 2 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/83/3083/2
-- 
To view, visit https://gerrit.asterisk.org/3083
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie7fc52a83b6596ce9ce2d5a2bd9f3e204f48fc88
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Corey Farrell <git at cfware.com>



More information about the asterisk-code-review mailing list