asterisk/res/parking
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
..
parking_applications.c stasis: Segment channel snapshot to reduce creation cost. 2018-11-26 12:56:24 -06:00
parking_bridge.c parking: Fall back to parker channel name even if it matches parkee. 2019-11-25 07:57:36 -05:00
parking_bridge_features.c pbx.c: On error, ast_add_extension2_lockopt should always free 'data' 2020-10-02 10:11:38 -05:00
parking_controller.c res_parking: Add dialplan function for lot channel 2018-07-10 11:03:01 -05:00
parking_devicestate.c res_parking: Add parking_devicestate.c left out from previous commit 2013-06-07 20:51:19 +00:00
parking_manager.c stasis: Add internal filtering of messages. 2018-11-18 15:08:16 -05:00
parking_tests.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
parking_ui.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
res_parking.h various files - fix some alerts raised by lgtm code analysis 2019-11-18 08:30:45 -06:00