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

Bogdan Andrei IANCU noreply at github.com
Wed Nov 13 09:28:26 EST 2019


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b3dc0f7065bcf53392446fbc253dd24bb99d6bc8
      https://github.com/OpenSIPS/opensips/commit/b3dc0f7065bcf53392446fbc253dd24bb99d6bc8
  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


  Commit: 2c1999bc8c5eb64c59a0d300ff860bdda65e639d
      https://github.com/OpenSIPS/opensips/commit/2c1999bc8c5eb64c59a0d300ff860bdda65e639d
  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


  Commit: cff73d685996ddd9a1543c4040de02b9c43fb7b5
      https://github.com/OpenSIPS/opensips/commit/cff73d685996ddd9a1543c4040de02b9c43fb7b5
  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.


  Commit: 501c893894b0a71b1649786de9f5fb1f133a8239
      https://github.com/OpenSIPS/opensips/commit/501c893894b0a71b1649786de9f5fb1f133a8239
  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


Compare: https://github.com/OpenSIPS/opensips/compare/81a098344bd0...501c893894b0



More information about the Devel mailing list