projects
/
framework
/
connectivity
/
bluetooth-frwk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
395c62f
)
Klocwork issue: NULL variable dereference
author
Divya Yadav
<divya.yadav@samsung.com>
Tue, 19 Mar 2013 12:22:47 +0000
(17:52 +0530)
committer
Dibyendu Roy
<dibyendu.roy@samsung.com>
Thu, 4 Apr 2013 07:02:00 +0000
(12:32 +0530)
Change-Id: I132e6a2bfea560fc233b12073e09b7720374a907
bt-service/bt-service-audio.c
patch
|
blob
|
history
diff --git
a/bt-service/bt-service-audio.c
b/bt-service/bt-service-audio.c
index
477438a
..
d137611
100644
(file)
--- a/
bt-service/bt-service-audio.c
+++ b/
bt-service/bt-service-audio.c
@@
-598,7
+598,8
@@
int _bt_audio_disconnect(int request_id, int type,
return BLUETOOTH_ERROR_NONE;
fail:
- g_array_append_vals(*out_param1, address,
+ if (out_param1 != NULL)
+ g_array_append_vals(*out_param1, address,
BT_ADDRESS_STR_LEN);
return result;