[sr-dev] git:master:fc50ce1d: siptrace: fix pkg memory leak when module configured with core callbacks
Daniel-Constantin Mierla
miconda at gmail.com
Tue Mar 22 08:24:52 CET 2022
Module: kamailio
Branch: master
Commit: fc50ce1dbd31bbd28a11d672ed9bdbe9bd4ae5d0
URL: https://github.com/kamailio/kamailio/commit/fc50ce1dbd31bbd28a11d672ed9bdbe9bd4ae5d0
Author: Dennis Yurasov <dennis-y at yandex-team.ru>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2022-03-22T08:24:47+01:00
siptrace: fix pkg memory leak when module configured with core callbacks
- Correctly freeng pkg memory in core callbacks when body modifications take place with X-Siptrace headers,
also fix potential pkg_free with not dynamicaly allocated objects.
---
Modified: src/modules/siptrace/siptrace.c
Modified: src/modules/siptrace/siptrace_data.h
Modified: src/modules/siptrace/siptrace_send.c
---
Diff: https://github.com/kamailio/kamailio/commit/fc50ce1dbd31bbd28a11d672ed9bdbe9bd4ae5d0.diff
Patch: https://github.com/kamailio/kamailio/commit/fc50ce1dbd31bbd28a11d672ed9bdbe9bd4ae5d0.patch
More information about the sr-dev
mailing list