[OpenSIPS-Devel] [OpenSIPS/opensips] 87c5f9: dialog: fix leak of 0-lenght frags in dlg profiles

Razvan Crainea razvan at opensips.org
Fri Sep 14 04:29:55 EDT 2018


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 87c5f96d823acdbf7657362b12cc5f3d9607c7e3
      https://github.com/OpenSIPS/opensips/commit/87c5f96d823acdbf7657362b12cc5f3d9607c7e3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2018-09-14 (Fri, 14 Sep 2018)

  Changed paths:
    M modules/dialog/dlg_profile.c

  Log Message:
  -----------
  dialog: fix leak of 0-lenght frags in dlg profiles

In case a dialog does not have any profiles, the previous code was
leaking 0-length fragments.
Thanks go to Nick Altman for reporting this.

(cherry picked from commit 8c6bbd261338b01e3f49b3b8c741c85719a37c9a)



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Devel mailing list