[OpenSIPS-Devel] [OpenSIPS/opensips] fab230: freeswitch: Avoid failed "unref" operations during...

Liviu Chircu noreply at github.com
Mon Feb 12 15:49:35 UTC 2024


  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fab230743eec8fcb7602c7387699370a48199ff3
      https://github.com/OpenSIPS/opensips/commit/fab230743eec8fcb7602c7387699370a48199ff3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M modules/freeswitch/fs_api.c

  Log Message:
  -----------
  freeswitch: Avoid failed "unref" operations during mod init

This fixes a bug where if a FreeSWITCH socket were defined in both
modparam and DB, it would get a +2 ref instead of +1, thus after a DB
removal + reload operation it would remain in a dangling state.

Many thanks to Five9 (https://www.five9.com) for reporting this issue!

(cherry picked from commit 6e6c60bd60329e1b0202e7e57cee5f71e2210f34)





More information about the Devel mailing list