[OpenSIPS-Devel] [OpenSIPS/opensips] 890431: proto_hep: prevent memleak when using correlation

Razvan Crainea razvan at opensips.org
Mon May 14 10:37:15 EDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8904319909cd6618d4ce06148a25937738a90a37
      https://github.com/OpenSIPS/opensips/commit/8904319909cd6618d4ce06148a25937738a90a37
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2018-05-14 (Mon, 14 May 2018)

  Changed paths:
    M modules/proto_hep/hep.c

  Log Message:
  -----------
  proto_hep: prevent memleak when using correlation

when not using homer5 and adding correlation to rest and xlog queries,
the correlation string was never freed, generating a memory leak.

also prevent opensips from crashing when running out of pkg memory.



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Devel mailing list