[OpenSIPS/opensips] d7f636: 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] d7f636: compression: fix leaks when message was rebuilt

Răzvan Crainea-2
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d7f636733c47310f5af3468d499e14a79653f1e7
      https://github.com/OpenSIPS/opensips/commit/d7f636733c47310f5af3468d499e14a79653f1e7
  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