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

Răzvan Crainea noreply at github.com
Tue Jan 14 08:50:12 EST 2020


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5006ab270ec1caa89c27f985a6c07c65aeffdb2a
      https://github.com/OpenSIPS/opensips/commit/5006ab270ec1caa89c27f985a6c07c65aeffdb2a
  Author: Razvan Crainea <razvan at opensips.org>
  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 <razvan at opensips.org>
  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



More information about the Devel mailing list