[OpenSIPS-Devel] [OpenSIPS/opensips] f2429a: Fix memory leak when ping-failed contacts unregist...
bogdan at opensips.org
Thu May 17 16:48:27 EDT 2018
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2018-05-17 (Thu, 17 May 2018)
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.
More information about the Devel