Files
asterisk/main
Sean Bright 51cba591e3 pbx.c: On error, ast_add_extension2_lockopt should always free 'data'
In the event that the desired extension already exists,
ast_add_extension2_lockopt() will free the 'data' it is passed before
returning an error, so we should not be freeing it ourselves.

Additionally, there were two places where ast_add_extension2_lockopt()
could return an error without also freeing the 'data' pointer, so we
add that.

ASTERISK-29097 #close

Change-Id: I904707aae55169feda050a5ed7c6793b53fe6eae
2020-10-02 10:11:38 -05:00
..
2019-08-01 15:31:48 -06:00
2020-05-05 10:06:43 -05:00
2020-05-05 10:06:43 -05:00
2020-04-06 10:23:20 -05:00
2019-08-01 15:31:48 -06:00
2020-06-10 09:31:38 -05:00
2020-06-10 09:33:28 -05:00
2020-08-18 05:16:43 -05:00
2020-08-18 05:16:43 -05:00
2020-06-10 09:33:28 -05:00
2017-12-20 12:40:01 -05:00
2020-06-10 09:33:28 -05:00
2020-06-10 09:33:28 -05:00
2020-06-10 09:33:28 -05:00
2018-06-23 08:26:19 +02:00
2018-07-23 06:47:20 -05:00