[OpenSIPS-Devel] [OpenSIPS/opensips] 6852bd: [acc] fix double free issue

ionutrazvanionita ionutionita at opensips.org
Thu Apr 14 14:07:11 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6852bd427376cea0cc53cbc5f87476f3377cbd04
      https://github.com/OpenSIPS/opensips/commit/6852bd427376cea0cc53cbc5f87476f3377cbd04
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2016-04-14 (Thu, 14 Apr 2016)

  Changed paths:
    M modules/acc/acc_logic.c
    M modules/acc/acc_logic.h

  Log Message:
  -----------
  [acc] fix double free issue

Since callbacks were registered only at first, and aftewards only
flags were changed there was no way to know if tm is to free the
shmed flags from acc or dialog. For this a new flag was introduced
to indicate whether the flags shall be removed either by dialog or
tm.




More information about the Devel mailing list