Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f2429ac736d437b248eebcd85999e7217ea82b23
      
https://github.com/OpenSIPS/opensips/commit/f2429ac736d437b248eebcd85999e7217ea82b23
  Author: Bogdan-Andrei Iancu <bog...@opensips.org>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M modules/nathelper/nathelper.c
    M modules/nathelper/nh_table.c
    M modules/nathelper/nh_table.h
    M modules/nathelper/sip_pinger.h

  Log Message:
  -----------
  Fix memory leak when ping-failed contacts unregister.

As for the contacts with failed ping we keep the ping_cell into hash (in order 
to count the failures), we need a second timer list to be sure that the 
ping_cellis actually removed from hash as some point. Without this second list, 
as the ping_cell exists only in hash, if the contact is unregistered, it will 
never be removed.

(cherry picked from commit 8532f9ed50aef1dbbf06668dcd9cfed1702c5a7d)



      **NOTE:** This service been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.
_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to