George Joseph
00de10c0d1
res_pjsip: Fix startup/reload memory leak in config_auth.
...
An issue in config_auth.c:ast_sip_auth_digest_algorithms_vector_init() was
causing double allocations for the two supported_algorithms vectors to the
tune of 915 bytes. The leak only happens on startup and when a reload is done
and doesn't get bigger with the number of auth objects defined.
* Pre-initialized the two vectors in config_auth:auth_alloc().
* Removed the allocations in ast_sip_auth_digest_algorithms_vector_init().
* Added a note to the doc for ast_sip_auth_digest_algorithms_vector_init()
noting that the vector passed in should be initialized and empty.
* Simplified the create_artificial_auth() function in pjsip_distributor.
* Set the vector initialization count to 0 in config_global:global_apply().
2025-01-29 10:00:47 -07:00
..
2023-04-03 07:58:23 -05:00
2024-08-12 15:21:35 +00:00
2025-01-23 18:42:29 +00:00
2024-03-21 18:55:23 +00:00
2023-01-31 11:23:11 -06:00
2025-01-23 18:42:29 +00:00
2025-01-29 10:00:47 -07:00
2024-02-28 18:39:03 +00:00
2025-01-23 18:42:29 +00:00
2023-01-10 14:07:44 -06:00
2017-10-18 03:34:56 -05:00
2024-08-06 18:04:51 +00:00
2022-03-23 18:08:17 -05:00
2023-04-03 07:58:23 -05:00
2022-12-08 11:19:07 -06:00
2025-01-23 18:42:29 +00:00
2022-04-26 14:26:48 -05:00
2017-12-22 09:23:22 -05:00
2025-01-23 18:42:29 +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
2023-08-09 15:10:46 +00:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2017-04-12 15:57:21 -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-23 18:42:29 +00:00
2024-02-12 18:46:32 +00:00
2020-01-14 09:36:44 -06:00
2024-06-07 16:24:30 +00:00
2019-10-24 09:18:38 -05:00
2019-10-24 09:18:38 -05:00
2024-01-23 18:18:56 +00:00
2025-01-23 18:42:29 +00:00
2021-12-03 10:38:39 -06:00
2024-02-12 18:46:32 +00:00
2022-07-08 09:28:23 -05:00
2017-02-10 18:04:41 -05:00
2021-11-15 16:37:34 -06:00
2021-12-03 10:38:39 -06:00
2023-08-14 17:20:09 +00:00
2025-01-23 18:42:28 +00:00
2022-08-01 11:06:37 -05:00
2017-12-22 09:23:22 -05:00
2021-11-15 16:37:34 -06:00
2023-06-12 17:20:31 +00:00
2018-01-24 13:37:29 -05:00
2018-01-15 13:25:51 -05:00
2023-06-12 17:19:28 +00:00
2025-01-23 18:42:29 +00:00
2021-03-10 04:22:36 -06:00
2016-10-27 09:53:55 -04:00
2021-03-10 04:22:36 -06:00
2018-12-13 17:03:59 -05:00
2021-06-10 16:30:28 -05:00
2021-03-10 04:22:36 -06:00
2021-03-10 04:22:36 -06:00
2021-03-10 04:22:36 -06:00
2021-03-10 04:22:36 -06:00
2021-03-10 04:22:36 -06:00
2022-07-12 07:52:12 -05:00
2022-07-12 07:52:12 -05:00
2020-11-20 13:51:02 -06:00
2018-11-18 15:08:16 -05:00
2025-01-23 18:42:29 +00:00
2016-06-08 12:32:02 -05:00
2025-01-23 18:42:29 +00:00
2021-11-15 16:37:34 -06:00
2024-02-12 18:46:32 +00:00
2017-12-22 09:23:22 -05:00
2025-01-23 18:42:29 +00:00
2025-01-23 18:42:29 +00:00
2025-01-23 18:42:29 +00:00
2025-01-23 18:42:29 +00:00
2019-04-23 17:40:15 -05:00
2025-01-23 18:42:29 +00:00
2021-12-03 10:38:39 -06:00
2025-01-23 18:42:29 +00:00
2025-01-23 18:42:28 +00:00
2025-01-23 18:42:29 +00:00
2025-01-23 18:42:29 +00:00
2025-01-23 18:42:29 +00:00
2018-09-06 13:30:12 -05:00
2025-01-23 18:42:29 +00:00
2022-12-13 10:52:10 -06:00
2025-01-23 18:42:29 +00:00
2024-02-28 18:39:03 +00:00
2024-07-24 19:21:14 +00:00
2022-09-13 04:51:10 -05:00
2022-09-13 04:51:10 -05:00
2023-01-03 09:00:42 -06:00
2023-10-27 15:52:44 +00:00
2020-04-20 11:03:26 -05:00
2022-09-13 04:51:10 -05:00
2025-01-23 18:42:29 +00:00
2023-10-20 12:18:59 +00:00
2023-10-20 12:39:09 +00:00
2022-09-26 15:04:44 -05:00
2025-01-23 18:42:29 +00:00
2022-03-24 12:00:58 -05:00
2024-09-12 18:46:48 +00:00
2023-08-09 15:10:46 +00:00
2018-01-24 13:37:29 -05:00
2023-10-20 12:39:09 +00:00
2024-01-08 17:26:31 +00:00
2025-01-23 18:42:29 +00:00
2020-04-20 11:03:26 -05:00
2025-01-23 18:42:28 +00:00
2025-01-23 18:42:29 +00:00
2025-01-23 18:42:29 +00:00
2024-07-10 17:02:12 +00:00
2025-01-23 18:42:29 +00:00
2018-01-24 13:37:29 -05:00
2020-12-16 08:01:11 -06:00
2018-01-24 13:37:29 -05:00
2025-01-23 18:42:29 +00:00
2025-01-23 18:42:29 +00:00
2024-03-26 13:29:59 +00:00
2025-01-23 18:42:28 +00:00
2023-06-21 13:25:00 +00:00
2023-05-02 09:18:42 -06:00
2024-11-14 20:02:03 +00:00
2018-01-24 13:37:29 -05:00
2024-03-19 20:20:39 +00:00
2024-02-28 18:39:03 +00:00
2018-01-24 13:37:29 -05:00
2024-04-29 13:02:11 +00:00
2024-01-30 19:06:40 +00:00
2023-09-21 14:47:58 +00:00
2018-01-24 13:37:29 -05:00
2024-11-14 20:02:03 +00:00
2022-01-17 08:25:58 -06:00
2025-01-23 18:42:29 +00:00
2019-05-20 20:33:58 -05:00
2020-01-14 10:07:20 -06:00
2021-03-16 10:30:43 -05:00
2025-01-23 18:42:29 +00:00
2025-01-23 18:42:28 +00:00
2017-12-22 09:23:22 -05:00
2016-05-27 11:00:09 -05:00
2018-11-18 15:08:16 -05:00
2025-01-23 18:42:29 +00:00
2017-12-22 09:23:22 -05:00
2017-12-10 12:51:16 -06:00
2021-11-15 16:37:34 -06:00
2025-01-23 18:42:28 +00:00
2018-11-21 09:56:16 -05:00
2018-08-17 16:33:24 -05:00
2023-10-05 10:42:18 -06:00
2024-02-12 18:46:32 +00:00
2024-11-14 20:02:03 +00:00
2018-01-15 13:25:51 -05:00
2018-11-21 09:56:16 -05:00
2018-01-24 13:37:29 -05:00
2021-11-15 16:37:34 -06:00
2023-09-13 17:34:37 +00:00
2023-01-30 08:28:33 -06:00
2018-09-12 12:34:54 -05:00
2024-08-06 18:04:51 +00:00
2025-01-23 18:42:29 +00:00
2024-09-26 11:05:10 -05:00
2020-06-08 10:50:16 -05:00
2021-12-03 10:38:39 -06:00
2023-12-08 13:11:54 +00:00
2024-11-14 20:02:03 +00:00
2018-12-11 12:29:09 -05:00
2025-01-23 18:42:29 +00:00
2025-01-23 18:42:29 +00:00
2024-11-14 20:02:03 +00:00