[OpenSIPS-Devel] [OpenSIPS/opensips] 789b0e: Fix memory leak in using extra accounting.
Bogdan-Andrei Iancu
bogdan at opensips.org
Thu May 24 10:31:30 EDT 2018
Branch: refs/heads/2.3
Home: https://github.com/OpenSIPS/opensips
Commit: 789b0e6fec218126bc7547c2a40805ceb0d0ba15
https://github.com/OpenSIPS/opensips/commit/789b0e6fec218126bc7547c2a40805ceb0d0ba15
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: 29f3059307240bc5a17f985979a202fbfebb32df
https://github.com/OpenSIPS/opensips/commit/29f3059307240bc5a17f985979a202fbfebb32df
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/f8f46f17e538...29f305930724
**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