[OpenSIPS-Devel] [OpenSIPS/opensips] 657399: Fixed memory leak on modules/drouting/drouting.c

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Jul 22 16:51:36 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 65739943151f08aee18a7bc2125c7ac90ee84d00
      https://github.com/OpenSIPS/opensips/commit/65739943151f08aee18a7bc2125c7ac90ee84d00
  Author: Ozzyboshi <gun101 at email.it>
  Date:   2016-07-21 (Thu, 21 Jul 2016)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Fixed memory leak on modules/drouting/drouting.c

This leak occures in function get_group_id() when do_routing is called without parameters in opensips.cfg.
In this case the dr_default_grp variable is not equal -1 and 'return dr_default_grp' is executed without freeing the res variable previously allocated for query execution.


  Commit: bfe55b96e17a42f85f958d595d5e91005be0020e
      https://github.com/OpenSIPS/opensips/commit/bfe55b96e17a42f85f958d595d5e91005be0020e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-07-22 (Fri, 22 Jul 2016)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Merge branch 'Ozzyboshi-master'


Compare: https://github.com/OpenSIPS/opensips/compare/0eecff942dc3...bfe55b96e17a


More information about the Devel mailing list