]> git.ipfire.org Git - thirdparty/asterisk.git/commit
resource_endpoints.c: memory leak when providing a 404 response
authorJean Aunis <jean.aunis@prescom.fr>
Mon, 5 Oct 2020 15:44:04 +0000 (17:44 +0200)
committerJean Aunis - Prescom <jean.aunis@prescom.fr>
Tue, 6 Oct 2020 06:37:54 +0000 (01:37 -0500)
commitb11f1242c5b3f36a27e35e40771d3f4ed5ab24d3
treeda0af99315cd5afa332ba1b71d330d3c49c84432
parent1b11f143d5348a7a2b478aebbcb73402c40e34f2
resource_endpoints.c: memory leak when providing a 404 response

When handling a send_message request to a non-existing endpoint, the response's
body is overriden and not properly freed.

ASTERISK-29108

Change-Id: Ie1d3d70065f80793445b60f5e4a7eb31b4b9c5c8
res/ari/resource_endpoints.c