Fix pointer corruption in gatt_server_deinitialize 32/267432/1
authorAyush Garg <ayush.garg@samsung.com>
Fri, 3 Dec 2021 10:40:05 +0000 (16:10 +0530)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 3 Dec 2021 10:40:05 +0000 (16:10 +0530)
commit9094d766158ab37d091ef590dd94a2820db11c1d
tree57b5a249157965b6c52037f9c2c0cfd6e592d25a
parent9d717e522c7df7070ad7b2f50854921a58f05181
Fix pointer corruption in gatt_server_deinitialize

The next node pointer of the gatt_server_list must be
stored before removing the current node.

Change-Id: I416a3a17d0c314f246449d6f458cffe6daaff2c3
src/bluetooth-gatt.c