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

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


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

(cherry picked from commit 6852bd427376cea0cc53cbc5f87476f3377cbd04)




More information about the Devel mailing list