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

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


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