[OpenSIPS-Devel] [OpenSIPS/opensips] d877af: Proper reset of the sip_msg struct after each run ...

Bogdan Andrei IANCU noreply at github.com
Wed Nov 13 09:39:14 EST 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d877afe103374ef7b7377ed2058dda8a172538a4
      https://github.com/OpenSIPS/opensips/commit/d877afe103374ef7b7377ed2058dda8a172538a4
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M parser/msg_parser.c
    M timer.c

  Log Message:
  -----------
  Proper reset of the sip_msg struct after each run of timer route.

Some cleanup of the free_sip_msg() function. This function is suppose to only free the attached content of a SIP msg, but without doing any kind of reset of the subfields.
Closes #1878

(cherry picked from commit b3dc0f7065bcf53392446fbc253dd24bb99d6bc8)


  Commit: 69fe2d8484cfac2a4f4f2b382c00f0a78f16b5a7
      https://github.com/OpenSIPS/opensips/commit/69fe2d8484cfac2a4f4f2b382c00f0a78f16b5a7
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M route.c

  Log Message:
  -----------
  Proper dummy sip msg cleanup after running startup route

(cherry picked from commit 2c1999bc8c5eb64c59a0d300ff860bdda65e639d)


  Commit: 63eef5fc154412a46c4a341a7e1762a592929ac0
      https://github.com/OpenSIPS/opensips/commit/63eef5fc154412a46c4a341a7e1762a592929ac0
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M net/trans_trace.c

  Log Message:
  -----------
  Avoid mem leak when running the check trace route for TCP.

Do proper free of the summy SIP msg after each run.

(cherry picked from commit cff73d685996ddd9a1543c4040de02b9c43fb7b5)


  Commit: 84cb1c157014a2dae024977e1990aa452b4a32f9
      https://github.com/OpenSIPS/opensips/commit/84cb1c157014a2dae024977e1990aa452b4a32f9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M modules/sipcapture/sipcapture.c

  Log Message:
  -----------
  Proper free and reset of dummy SIP msg after running HEP route

(cherry picked from commit 501c893894b0a71b1649786de9f5fb1f133a8239)


Compare: https://github.com/OpenSIPS/opensips/compare/beb72cb211c7...84cb1c157014



More information about the Devel mailing list