[OpenSIPS-Devel] [OpenSIPS/opensips] 8cb9a9: b2b_entitites: do not unref cancelled cell if not ...

Răzvan Crainea noreply at github.com
Fri Sep 13 09:28:24 UTC 2024


  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8cb9a95046105865e0b46ed688731bc96d31274a
      https://github.com/OpenSIPS/opensips/commit/8cb9a95046105865e0b46ed688731bc96d31274a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2024-09-13 (Fri, 13 Sep 2024)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  b2b_entitites: do not unref cancelled cell if not ours

If a CANCEL is caught by the b2b_entities but it is not part of a b2b
dialog, it should not unref the cell, otherwise after the script is
executed, it will be unreffed again, leading to a double unref.

Many thanks to Voxtronic for spotting this issue!

(cherry picked from commit c7780dbd78a2192178694283da982dee84b9f80b)



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list