[OpenSIPS-Devel] [OpenSIPS/opensips] a82199: b2b_entities: fix entity storage memory leak

Vlad Pătrașcu noreply at github.com
Tue Mar 15 14:51:40 UTC 2022


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a821997cd90d9497e96567b7ffef3b00f3a371bc
      https://github.com/OpenSIPS/opensips/commit/a821997cd90d9497e96567b7ffef3b00f3a371bc
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M modules/b2b_entities/b2be_db.c
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  b2b_entities: fix entity storage memory leak

Do not reset the pointer to the storage buffer when there is nothing
to serialize after running the callback.

(cherry picked from commit e19ed6eaaf8d238ada6b9868760127f097412439)





More information about the Devel mailing list