[OpenSIPS-Devel] [OpenSIPS/opensips] 8ec457: Fix memleak in nathelper natping when "failed to f...

Bogdan Andrei IANCU bogdan at opensips.org
Thu Aug 29 17:13:31 CEST 2013


  Branch: refs/heads/1.8
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8ec45702bc2feaaf0669d8c7eb2dc66bc61097dc
      https://github.com/OpenSIPS/opensips/commit/8ec45702bc2feaaf0669d8c7eb2dc66bc61097dc
  Author: Walter Doekes <walter+github at wjd.nu>
  Date:   2013-08-29 (Thu, 29 Aug 2013)

  Changed paths:
    M modules/nathelper/nathelper.c

  Log Message:
  -----------
  Fix memleak in nathelper natping when "failed to fetch contacts".

Re-ordered some code around in nh_timer() so buf is always freed. Even
in rare cases when ul.get_all_ucontacts() returns false (because someone
broke the database).


  Commit: 65408fcbe22ca148c03cf4c610d603dfc52988c5
      https://github.com/OpenSIPS/opensips/commit/65408fcbe22ca148c03cf4c610d603dfc52988c5
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2013-08-29 (Thu, 29 Aug 2013)

  Changed paths:
    M modules/nathelper/nathelper.c

  Log Message:
  -----------
  Merge pull request #68 from wdoekes/wjd-fix_nathelper_memleak

Fix memleak in nathelper natping when "failed to fetch contacts".


Compare: https://github.com/OpenSIPS/opensips/compare/e40c5b1f39c8...65408fcbe22c


More information about the Devel mailing list