[OpenSIPS-Devel] [OpenSIPS/opensips] f561ee: [proto_hep] Fix mem leaks upon errors.

Bogdan Andrei IANCU noreply at github.com
Wed Aug 14 09:33:14 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f561eed7b0955d143395958304aaadedccff4e67
      https://github.com/OpenSIPS/opensips/commit/f561eed7b0955d143395958304aaadedccff4e67
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-08-14 (Wed, 14 Aug 2019)

  Changed paths:
    M modules/proto_hep/hep.c

  Log Message:
  -----------
  [proto_hep] Fix mem leaks upon errors.

If resolving the destination fails, do not forget to free the so far allocated memory.
Closes #1782

(cherry picked from commit 11d7dcc28d9a4ae9351e12c5a5d1f9a2da2d7279)





More information about the Devel mailing list