Fix NULL Returns in bt-api/bt-hid-device.c 44/42044/1
authorAtul Rai <a.rai@samsung.com>
Mon, 22 Jun 2015 11:06:23 +0000 (16:36 +0530)
committerAtul Rai <a.rai@samsung.com>
Mon, 22 Jun 2015 11:06:23 +0000 (16:36 +0530)
This patch added NULL return check after malloc to prevent
bt-service crash in case enough memory could not be allocated.

Change-Id: I352304f24c2180cdebdd5ac4393e3e4b0c4b28d5
Signed-off-by: Atul Rai <a.rai@samsung.com>

No differences found