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

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


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

(cherry picked from commit 8904319909cd6618d4ce06148a25937738a90a37)



      **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