[OpenSIPS/opensips] 5006ab: proto_smpp: fix several memory leaks

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

[OpenSIPS/opensips] 5006ab: proto_smpp: fix several memory leaks

Răzvan Crainea-3
  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5006ab270ec1caa89c27f985a6c07c65aeffdb2a
      https://github.com/OpenSIPS/opensips/commit/5006ab270ec1caa89c27f985a6c07c65aeffdb2a
  Author: Razvan Crainea <[hidden email]>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: fix several memory leaks

headers, body and payload was not properly released after sending
a SMPP message

(cherry picked from commit d81eaf9d093e6cf321a9d37f5e22740e85d5df91)


  Commit: 2e2143f0003eb64cbf68db984a4538948d086fcb
      https://github.com/OpenSIPS/opensips/commit/2e2143f0003eb64cbf68db984a4538948d086fcb
  Author: Razvan Crainea <[hidden email]>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/proto_smpp/smpp.c
    M modules/proto_smpp/smpp.h

  Log Message:
  -----------
  proto_smpp: convert GSM7 to UTF-8 for incoming SM

Thanks to @johandeclercqdemocon for reporting this in #1935

(cherry picked from commit 417ac1185809d80315548ba5a4d5dd75c61ce93a)


Compare: https://github.com/OpenSIPS/opensips/compare/5ca1979c4660...2e2143f0003e

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