[OpenSIPS-Devel] [OpenSIPS/opensips] 9efcb7: compression: fix leaks when message was rebuilt

Razvan Crainea razvan at opensips.org
Tue Nov 27 11:49:14 EST 2018


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9efcb7d07da4150757f28597f652793e5da09e0a
      https://github.com/OpenSIPS/opensips/commit/9efcb7d07da4150757f28597f652793e5da09e0a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2018-11-27 (Tue, 27 Nov 2018)

  Changed paths:
    M modules/compression/compression.c

  Log Message:
  -----------
  compression: fix leaks when message was rebuilt

When the initial buffer had to be changed, the previous one was no
longer released, resulting in a memleak.

Credits go to Jock McKechnie for reporting and providing testing env!

(cherry picked from commit be3b60366763c3c0390f20be590420440c834204)



      **NOTE:** This service has 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