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

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


  Branch: refs/heads/3.5
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a7bd9c87e2ff5422a9a29dc707e2457fcf0648e8
      https://github.com/OpenSIPS/opensips/commit/a7bd9c87e2ff5422a9a29dc707e2457fcf0648e8
  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