[OpenSIPS-Devel] [OpenSIPS/opensips] 2b6b00: Fix dangling path vector in shm cloned request.

Bogdan Andrei IANCU noreply at github.com
Wed Apr 3 07:47:32 EDT 2019


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2b6b000305f0957e2e020bdfa9be869795cc41dd
      https://github.com/OpenSIPS/opensips/commit/2b6b000305f0957e2e020bdfa9be869795cc41dd
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-04-03 (Wed, 03 Apr 2019)

  Changed paths:
    M modules/registrar/save.c

  Log Message:
  -----------
  Fix dangling path vector in shm cloned request.

When doing save() on reply, be sure you free whatever path_vec may be attached via save_aux() in pkg. Keep in mind that the request is a cloned request in shm.
Closes #1640.
May thanks to @netaskd for his help in troubleshooting this issue.





More information about the Devel mailing list