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 -- M src/modules/pua_reginfo/notify.c (2) M src/modules/pua_reginfo/usrloc_cb.c (3) -- Patch Links -- https://github.com/kamailio/kamailio/pull/998.patch https://github.com/kamailio/kamailio/pull/998.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/998
_______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev