[OpenSIPS-Devel] [OpenSIPS/opensips] 4062de: [dialog] fix bad unref leading to dialog leaking
Bogdan Andrei IANCU
noreply at github.com
Wed Sep 14 06:51:51 UTC 2022
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 4062de45d0ccfe62bb4f9475f6320d2726349bab
https://github.com/OpenSIPS/opensips/commit/4062de45d0ccfe62bb4f9475f6320d2726349bab
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2022-09-14 (Wed, 14 Sep 2022)
Changed paths:
M modules/dialog/dlg_handlers.c
Log Message:
-----------
[dialog] fix bad unref leading to dialog leaking
When using the dlg_on_timeout to set a new timeout for the dialog, due to the timer related operations (re-inserting in the list), an extra ref cnt happens. If not unref'ed, the dialog will stay (as terminated) forever in memory.
Closes #2788
More information about the Devel
mailing list