Module: kamailio
Branch: 4.4
Commit: ac90a7c1066cc8a5e01152a1c6bfc704f6667d98
URL: 
https://github.com/kamailio/kamailio/commit/ac90a7c1066cc8a5e01152a1c6bfc704f6667d98

Author: Alexandr Dubovikov <alexandr.dubovi...@gmail.com>
Committer: Alexandr Dubovikov <shu...@d.start4.info>
Date: 2016-03-29T22:34:20+02:00

Update hep.c

---

Modified: modules/sipcapture/hep.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/ac90a7c1066cc8a5e01152a1c6bfc704f6667d98.diff
Patch: 
https://github.com/kamailio/kamailio/commit/ac90a7c1066cc8a5e01152a1c6bfc704f6667d98.patch

---

diff --git a/modules/sipcapture/hep.c b/modules/sipcapture/hep.c
index 6c934dc..bbafa5a 100644
--- a/modules/sipcapture/hep.c
+++ b/modules/sipcapture/hep.c
@@ -66,6 +66,9 @@ int hep_msg_received(void *data)
         len = (unsigned *)srevp[1];
         ri = (struct receive_info *)srevp[2];                        
 
+       correlation_id = NULL;
+       authkey = NULL;
+
        count++;
         struct hep_hdr *heph;
         /* hep_hdr */
@@ -100,6 +103,9 @@ int hepv2_received(char *buf, unsigned int len, struct 
receive_info *ri){
         memset(heptime, 0, sizeof(struct hep_timehdr));
 
         struct hep_ip6hdr *hepip6h = NULL;
+                       
+       correlation_id = NULL;
+       authkey = NULL;
 
        hep_offset = 0; 
        


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to