[Tizen] Prevent segmentation faults in bluetooth
authorMaciej Piotrowski <m.piotrowski@samsung.com>
Wed, 17 Dec 2014 11:46:57 +0000 (12:46 +0100)
committerMaciej Piotrowski <m.piotrowski@samsung.com>
Mon, 29 Dec 2014 13:23:16 +0000 (14:23 +0100)
commitca64caec096f449221c79058f52bfbf98feacdc5
treef0f73585d1d00ce504cdf0f294ab973283d3d3c8
parentff1eb4a4f19571e40da33fb0f5f48d6f11d7c7a3
[Tizen] Prevent segmentation faults in bluetooth

Fixes are connected with cases when null pointers were not
handled properly. Some other nits fixed.

Change-Id: I4263b2643c2fbd67d8cbe9315235bbec2cb638dd
src/bluetooth/bluetooth_instance.cc
src/bluetooth/bluetooth_instance_bluez4.cc
src/bluetooth/bluetooth_instance_bluez5.cc
src/bluetooth/bluetooth_instance_capi.cc