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

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


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 11d7dcc28d9a4ae9351e12c5a5d1f9a2da2d7279
      https://github.com/OpenSIPS/opensips/commit/11d7dcc28d9a4ae9351e12c5a5d1f9a2da2d7279
  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





More information about the Devel mailing list