[OpenSIPS-Devel] [OpenSIPS/opensips] 6c12ba: Reset to 0 the whole branch if failed.

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Mar 17 21:37:21 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6c12ba98264da11c6effd18ae26d6c3490408962
      https://github.com/OpenSIPS/opensips/commit/6c12ba98264da11c6effd18ae26d6c3490408962
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-03-17 (Thu, 17 Mar 2016)

  Changed paths:
    M modules/tm/t_fwd.c

  Log Message:
  -----------
  Reset to 0 the whole branch if failed.

If we do not reset, on trying to add the next branch (on the same position), we will end up with dangling pointers.

(cherry picked from commit d5c3bd1eed5f40f7425562f8bb65fe2f5c9fc678)




More information about the Devel mailing list