Files
asterisk/res
George Joseph 5267c17645 resource_channels.c: Fix memory leak in ast_ari_channels_external_media.
Between ast_ari_channels_external_media(), external_media_rtp_udp(),
and external_media_audiosocket_tcp(), the `variables` structure being passed
around wasn't being cleaned up properly when there was a failure.

* In ast_ari_channels_external_media(), the `variables` structure is now
  defined with RAII_VAR to ensure it always gets cleaned up.

* The ast_variables_destroy() call was removed from external_media_rtp_udp().

* The ast_variables_destroy() call was removed from
  external_media_audiosocket_tcp(), its `endpoint` allocation was changed to
  to use ast_asprintf() as external_media_rtp_udp() does, and it now
  returns an error on failure.

* ast_ari_channels_external_media() now checks the new return code from
  external_media_audiosocket_tcp() and sets the appropriate error response.

Resolves: #1109
2025-02-11 23:31:16 +00:00
..
2023-04-03 07:58:23 -05:00
2025-01-29 14:18:21 +00:00
2023-01-31 11:23:11 -06:00
2025-01-29 14:18:21 +00:00
2024-02-28 18:39:01 +00:00
2023-01-10 14:07:44 -06:00
2023-04-03 07:58:23 -05:00
2025-01-29 14:18:21 +00:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2025-01-29 14:18:21 +00:00
2025-01-29 14:18:21 +00:00
2021-12-03 10:38:39 -06:00
2021-11-15 16:37:34 -06:00
2021-12-03 10:38:39 -06:00
2021-11-15 16:37:34 -06:00
2025-01-29 14:18:21 +00:00
2025-01-29 14:18:21 +00:00
2021-11-15 16:37:34 -06:00
2025-01-29 14:18:21 +00:00
2025-01-29 14:18:21 +00:00
2021-12-03 10:38:39 -06:00
2025-01-29 14:18:21 +00:00
2025-01-29 14:18:21 +00:00
2025-01-29 14:18:21 +00:00
2025-01-29 14:18:21 +00:00
2024-02-28 18:39:01 +00:00
2025-01-29 14:18:21 +00:00
2025-01-29 14:18:21 +00:00
2025-01-29 14:18:21 +00:00
2025-01-29 14:18:21 +00:00
2021-11-15 16:37:34 -06:00
2021-11-15 16:37:34 -06:00
2025-01-29 14:18:21 +00:00
2021-12-03 10:38:39 -06:00
2023-12-08 13:11:51 +00:00
2025-01-29 14:18:21 +00:00