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

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


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 69c12ff9e5e12721b90e40f4d28e1eee0c9014f1
      https://github.com/OpenSIPS/opensips/commit/69c12ff9e5e12721b90e40f4d28e1eee0c9014f1
  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