Check NULL condition 93/216393/2
authorSudipto <sudipto.bal@samsung.com>
Thu, 24 Oct 2019 09:28:25 +0000 (14:58 +0530)
committerSudipto <sudipto.bal@samsung.com>
Mon, 4 Nov 2019 06:46:48 +0000 (12:16 +0530)
commitbc15315acaa610203b5f4f9266f00a26afe1a8cc
treeaaddd9b47bd574025e9698441722ed6407d2482a
parente791089370a0d9f172547ac849f8f4970658e3d0
Check NULL condition

Free memory of a previously declared variable if
g_array_new returns NULL

Change-Id: I373ef9d1641262ef4fd5f18170b6171efbbc72fb
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
bt-api/bt-event-handler.c