As release_urecord() clearly says:
/*!
- \brief Release urecord previously obtained through get_urecord
- \warning Failing to calls this function after get_urecord will
- result in a memory leak when the DB_ONLY mode is used. When
- the records is later deleted, e.g. with delete_urecord, then
- its not necessary, as this function already releases the record.
- \param _r released record
*/
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/998
Commit Summary
- pua_reginfo: fix memory leak when usrloc is DB_ONLY
File Changes
Patch Links:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.