fix(pua_reginfo): free pkg memory after getting the XML attribute
- free the memory from the state XML attribute that was returned and immediately used in another function call without freeing leaving one small mem leak;
- add comments but keep the dead code regarding parsed but unused attrs.
Pre-Submission Checklist
Type Of Change
Checklist:
Description
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3953
Commit Summary
- 0e48c3f fix(pua_reginfo): free pkg memory after getting the content of each XML attribute
File Changes
(1 file)
Patch Links:
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3953@github.com>