[OpenSIPS-Devel] [OpenSIPS/opensips] bdac5e: Fix memory leak in using extra accounting.
Bogdan-Andrei Iancu
bogdan at opensips.org
Thu May 24 10:26:45 EDT 2018
Branch: refs/heads/2.4
Home: https://github.com/OpenSIPS/opensips
Commit: bdac5e61a2829bd6867ce2ffb90a7beb3b2d73b2
https://github.com/OpenSIPS/opensips/commit/bdac5e61a2829bd6867ce2ffb90a7beb3b2d73b2
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2018-05-24 (Thu, 24 May 2018)
Changed paths:
M modules/acc/acc_logic.c
Log Message:
-----------
Fix memory leak in using extra accounting.
If setting $acc_extra() for a sequential request, before being matched against the dialog, the values will result in a leak.
Ideally, the acc_extra set in the processing context should be merged with the acc_extra fetched after dialog matching.
(cherry picked from commit 19305deaa6f89d3c3030f67e68f79c69116501f2)
Commit: 93c2cea6c3b3f3d1c0dc9530f36ccb074a337469
https://github.com/OpenSIPS/opensips/commit/93c2cea6c3b3f3d1c0dc9530f36ccb074a337469
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2018-05-24 (Thu, 24 May 2018)
Changed paths:
M modules/acc/acc_logic.c
M modules/acc/acc_vars.c
M modules/acc/acc_vars.h
Log Message:
-----------
Fix consistency of extra/leg values in acc module.
If values are set before the dialog is matched, rather than simply discarding the setings done on the extra/leg values, better migrate the changes over the acc set stored in dialog.
(cherry picked from commit 60b1e7005b22eedd1ed604ffc21054e91b7f404b)
Compare: https://github.com/OpenSIPS/opensips/compare/40222f493d82...93c2cea6c3b3
**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
mailing list