Fix bt-service crash issue 36/229536/4 accepted/tizen/unified/20200403.034541 submit/tizen/20200402.035805
authorDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 1 Apr 2020 23:01:10 +0000 (08:01 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 2 Apr 2020 02:26:48 +0000 (11:26 +0900)
commit3dc948154117f63053dc0ee386749b8d00e21097
tree0d448bb96609806bd1b4476ad799f674e26e4baf
parentac44083765bc3b9257a2eb83f34be26e56d6f8ec
Fix bt-service crash issue

There are some cases that current_session_data is
NULL. This patchset adds the prevent code for
crashing issue.

Change-Id: I7931b35f2202f54cba48ab2c826d0785987f18e7
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-service-adaptation/services/bt-service-battery-monitor.c