[asterisk-commits] file: trunk r395183 - /trunk/channels/chan_gulp.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jul 23 13:41:31 CDT 2013
Author: file
Date: Tue Jul 23 13:41:29 2013
New Revision: 395183
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=395183
Log:
Drop the reference count on the correct object.
Modified:
trunk/channels/chan_gulp.c
Modified: trunk/channels/chan_gulp.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_gulp.c?view=diff&rev=395183&r1=395182&r2=395183
==============================================================================
--- trunk/channels/chan_gulp.c (original)
+++ trunk/channels/chan_gulp.c Tue Jul 23 13:41:29 2013
@@ -1510,7 +1510,7 @@
}
clear_session_and_channel(session, ast, pvt);
- ao2_cleanup(pvt);
+ ao2_cleanup(channel);
ao2_cleanup(h_data);
return 0;
@@ -1540,7 +1540,7 @@
* to be able to send our SIP request/response
*/
clear_session_and_channel(channel->session, ast, pvt);
- ao2_cleanup(pvt);
+ ao2_cleanup(channel);
ao2_cleanup(h_data);
return -1;
More information about the asterisk-commits
mailing list