Of course, I missed that one in the review, will fix it.
From: Victor Seva <notifications(a)github.com>
Sent: Mittwoch, 22. März 2023 13:54
To: Kamailio Devel List <sr-dev(a)lists.kamailio.org>
Cc: Subscribed <subscribed(a)noreply.github.com>
Subject: [sr-dev] Re: [kamailio/kamailio] benchmark: properly free previous allocated
memory in case of error (d7770ca)
@henningw<https://github.com/henningw> this is wrong no?
it should be
pkg_free(bmt->start);
shm_free(bmt);
instead.
you can't access bmt->start if you freed bmt first, no?
—
Reply to this email directly, view it on
GitHub<https://github.com/kamailio/kamailio/commit/d7770cae2ee68be718429…32>,
or
unsubscribe<https://github.com/notifications/unsubscribe-auth/ABO7UZJCE4…XY>.
You are receiving this because you are subscribed to this thread.Message ID:
<kamailio/kamailio/commit/d7770cae2ee68be7184298b2bb41cb0ba3ebb47d/105547932(a)github.com>