Module: sems
Branch: master
Commit: 4a774cf4a9309bce18730dae8822c5bb5104af7b
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=4a774cf4a9309bce18730dae8822c5bb5104af7b

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 1bd4b4a..4876177 100644
--- a/core/sip/trans_layer.cpp
+++ b/core/sip/trans_layer.cpp
@@ -1625,7 +1625,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