[sr-dev] Re: [kamailio/kamailio] benchmark: properly free previous allocated memory in case of error (d7770ca)

2023-03-22 Thread Henning Westerholt
Of course, I missed that one in the review, will fix it. From: Victor Seva Sent: Mittwoch, 22. März 2023 13:54 To: Kamailio Devel List Cc: Subscribed Subject: [sr-dev] Re: [kamailio/kamailio] benchmark: properly free previous allocated memory in case of error (d7770ca) @henningw<ht

[sr-dev] Re: [kamailio/kamailio] benchmark: properly free previous allocated memory in case of error (d7770ca)

2023-03-22 Thread Victor Seva
@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 or view it on GitHub: