[OpenSIPS-Devel] [OpenSIPS/opensips] c477a5: [dialog] fix bad unref leading to dialog leaking
Bogdan Andrei IANCU
noreply at github.com
Wed Sep 14 06:53:46 UTC 2022
Branch: refs/heads/3.3
Home: https://github.com/OpenSIPS/opensips
Commit: c477a5f61da772f058864f8adc2cfec007d31ce4
https://github.com/OpenSIPS/opensips/commit/c477a5f61da772f058864f8adc2cfec007d31ce4
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
(cherry picked from commit 4062de45d0ccfe62bb4f9475f6320d2726349bab)
More information about the Devel
mailing list