[OpenSIPS-Devel] [OpenSIPS/opensips] 1f350f: dialog: fix unset_dlg_profile() linkers deletion
Razvan Crainea
razvan at opensips.org
Fri Aug 31 06:30:42 EDT 2018
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 1f350f4bf88d1fbb67bf30d17fd74231417a5fa2
https://github.com/OpenSIPS/opensips/commit/1f350f4bf88d1fbb67bf30d17fd74231417a5fa2
Author: Razvan Crainea <razvan at opensips.org>
Date: 2018-08-31 (Fri, 31 Aug 2018)
Changed paths:
M modules/dialog/dlg_profile.c
Log Message:
-----------
dialog: fix unset_dlg_profile() linkers deletion
This commit fixes the following bugs introduced in commit 00cddf7:
1. when it was called, it was removing all the linkers of a dialog
2. it was not removing the actual linker it was called for, causing
constant increase in size for that specific profile (and leak)
3. when temporary copying the profiles list, the values were not copied,
thus they might have dissapeared when the actual cleanup was done.
Many thanks to Jonathan Hulme for reporting the issue and providing
testing framework for detecting the bug and testing the fix!
**NOTE:** This service has 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
mailing list