[Bluetooth] Fix ASAN crash issue (#5624)
authorWootak Jung <wootak.jung@samsung.com>
Tue, 24 Oct 2023 03:04:31 +0000 (12:04 +0900)
committerGitHub <noreply@github.com>
Tue, 24 Oct 2023 03:04:31 +0000 (12:04 +0900)
commit27de0d26c07290e5f9e74eefb3f6d77ffc23e696
tree984cd8927b13b8d9d4475bda90e9d4914c9d3193
parent168fe31bb144a0ab38ec3ed1cae6a305091beec8
[Bluetooth] Fix ASAN crash issue (#5624)

- Use g_free for data allocated by g_malloc

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
src/Tizen.Network.Bluetooth/Interop/Interop.Glib.cs
src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothAdapterImpl.cs
src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothLeAdapterImpl.cs