Of course, I missed that one in the review, will fix it.
From: Victor Seva <notifications@github.com>
Sent: Mittwoch, 22. März 2023 13:54
To: Kamailio Devel List <sr-dev@lists.kamailio.org>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: [sr-dev] Re: [kamailio/kamailio] benchmark: properly free previous allocated memory in case of error (d7770ca)
@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, or
unsubscribe.
You are receiving this because you are subscribed to this thread.Message
ID: <kamailio/kamailio/commit/d7770cae2ee68be7184298b2bb41cb0ba3ebb47d/105547932@github.com>