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

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


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



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



More information about the Devel mailing list