[OpenSIPS-Devel] [OpenSIPS/opensips] 97c6bc: tm: Fix t_on_branch() PKG memory leak

Liviu Chircu noreply at github.com
Mon Jan 11 12:30:43 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 97c6bc78a34ed7ff47ea993b8bf843f700428cc5
      https://github.com/OpenSIPS/opensips/commit/97c6bc78a34ed7ff47ea993b8bf843f700428cc5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-01-11 (Mon, 11 Jan 2021)

  Changed paths:
    M modules/tm/t_fwd.c

  Log Message:
  -----------
  tm: Fix t_on_branch() PKG memory leak

Commit dddf9c253d introduced a regression because add_uac() is sensible
to the addresses of the (str *) address provided.

"Premature optimization is the root of all evil"...





More information about the Devel mailing list