]> 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:35:33 +0000 (01:35 -0500)
commitd590f63163adb439ab943fd111df78917043cd83
treeaa03c28e0189232e3950eef124b22c7391f3224a
parent715235202d81d8a1306c9259020ee27ca4d2d7d8
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