[OpenSIPS-Devel] [OpenSIPS/opensips] 4612a7: Fix memory leak in LDAP module.
Bogdan Andrei IANCU
noreply at github.com
Tue Sep 26 15:41:29 UTC 2023
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 4612a7f777fc1c8f3d1ce0de5ac470d5831422fd
https://github.com/OpenSIPS/opensips/commit/4612a7f777fc1c8f3d1ce0de5ac470d5831422fd
Author: tcresson <tcresson at keyyo.com>
Date: 2023-09-14 (Thu, 14 Sep 2023)
Changed paths:
M modules/ldap/ldap_mod.c
Log Message:
-----------
Fix memory leak in LDAP module.
The subst_expr* that is allocated for the methods ldap_write_result and
ldap_result_check is never freed.
In order to fix it, we declare the fixup_free_substre function that is
used in the definition of the "free_fixup" function for the subst_expr
parameter of these two functions.
Commit: d82ddd85d97fcf0b5c3f01e686c9018b9f00e89c
https://github.com/OpenSIPS/opensips/commit/d82ddd85d97fcf0b5c3f01e686c9018b9f00e89c
Author: Bogdan Andrei IANCU <bogdan at opensips.org>
Date: 2023-09-26 (Tue, 26 Sep 2023)
Changed paths:
M modules/ldap/ldap_mod.c
Log Message:
-----------
Merge pull request #3189 from Keyyo-Private/fix_ldap_memleak
ldap: Fix memory leak
Compare: https://github.com/OpenSIPS/opensips/compare/7bafee1f9132...d82ddd85d97f
More information about the Devel
mailing list