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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Răzvan Crainea-2
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9efcb7d07da4150757f28597f652793e5da09e0a
      https://github.com/OpenSIPS/opensips/commit/9efcb7d07da4150757f28597f652793e5da09e0a
  Author: Razvan Crainea <[hidden email]>
  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.

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel