[OpenSIPS-Devel] [OpenSIPS/opensips] c3de32: [dialog] fix bad unref leading to dialog leaking
    Bogdan Andrei IANCU 
    noreply at github.com
       
    Wed Sep 14 06:54:12 UTC 2022
    
    
  
  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c3de32c0618a22a6d05960da7dcf4b8927bba3a5
      https://github.com/OpenSIPS/opensips/commit/c3de32c0618a22a6d05960da7dcf4b8927bba3a5
  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