Module: sems
Branch: 1.4
Commit: 0e3923afb610b2418edacc85096ad4032877be93
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=0e3923afb610b2418edacc85096ad4032877be93

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Tue Jul  5 18:00:50 2011 +0200

b/f: mismatching allocation and deallocation: ack_buf

---

 core/sip/trans_layer.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core/sip/trans_layer.cpp b/core/sip/trans_layer.cpp
index 81619db..b5f9edd 100644
--- a/core/sip/trans_layer.cpp
+++ b/core/sip/trans_layer.cpp
@@ -1622,7 +1622,7 @@ void _trans_layer::send_non_200_ack(sip_msg* reply, 
sip_trans* t)
     if(send_err < 0){
        ERROR("Error from transport layer\n");
     }
-    delete ack_buf;
+    delete[] ack_buf;
 
 }
 

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to