[asterisk-commits] seanbright: branch group/cdr_backend_ast_str r114318 - /team/group/cdr_backen...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Apr 20 19:40:08 CDT 2008
Author: seanbright
Date: Sun Apr 20 19:40:07 2008
New Revision: 114318
URL: http://svn.digium.com/view/asterisk?view=rev&rev=114318
Log:
I managed to screw this up while merging. All better now.
Modified:
team/group/cdr_backend_ast_str/channels/chan_sip.c
Modified: team/group/cdr_backend_ast_str/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/group/cdr_backend_ast_str/channels/chan_sip.c?view=diff&rev=114318&r1=114317&r2=114318
==============================================================================
--- team/group/cdr_backend_ast_str/channels/chan_sip.c (original)
+++ team/group/cdr_backend_ast_str/channels/chan_sip.c Sun Apr 20 19:40:07 2008
@@ -3311,6 +3311,7 @@
__sip_reliable_xmit(p, seqno, 1, req->data, req->len, (reliable == XMIT_CRITICAL), req->method) :
__sip_xmit(p, req->data, req->len);
ast_free(req->data);
+ req->data = NULL;
if (res > 0)
return 0;
return res;
@@ -3344,8 +3345,10 @@
res = (reliable) ?
__sip_reliable_xmit(p, seqno, 0, req->data, req->len, (reliable == XMIT_CRITICAL), req->method) :
__sip_xmit(p, req->data, req->len);
- if (req->data)
+ if (req->data) {
ast_free(req->data);
+ req->data = NULL;
+ }
return res;
}
More information about the asterisk-commits
mailing list