OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
auto import from //branches/cupcake/...@132569
[android-x86/external-bluetooth-bluez.git]
/
utils
/
audio
/
sink.c
diff --git
a/utils/audio/sink.c
b/utils/audio/sink.c
index
38ef2e6
..
dee0272
100644
(file)
--- a/
utils/audio/sink.c
+++ b/
utils/audio/sink.c
@@
-379,7
+379,8
@@
static void discovery_complete(struct avdtp *session, GSList *seps, struct avdtp
if (id == 0)
goto failed;
- pending->id = id;
+ if (pending)
+ pending->id = id;
return;
failed: