OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ae9b0a
)
Reset queue pointer to NULL after fixed_queue_free()
author
Pavlin Radoslavov
<pavlin@google.com>
Tue, 1 Mar 2016 18:08:06 +0000
(10:08 -0800)
committer
Pavlin Radoslavov
<pavlin@google.com>
Tue, 1 Mar 2016 20:07:34 +0000
(12:07 -0800)
Add missing reset of queue pointers to NULL affter
fixed_queue_free() calls.
Bug:
26742590
Change-Id: Ib9035d58c0f98a47ce2935e073c6f288ae03ac92
btif/src/btif_media_task.c
patch
|
blob
|
history
diff --git
a/btif/src/btif_media_task.c
b/btif/src/btif_media_task.c
index
e8ba199
..
26ea6e7
100644
(file)
--- a/
btif/src/btif_media_task.c
+++ b/
btif/src/btif_media_task.c
@@
-1387,7
+1387,9
@@
static void btif_media_thread_cleanup(UNUSED_ATTR void *context) {
#if (BTA_AV_INCLUDED == TRUE)
fixed_queue_free(btif_media_cb.TxAaQ, NULL);
+ btif_media_cb.TxAaQ = NULL;
fixed_queue_free(btif_media_cb.RxSbcQ, NULL);
+ btif_media_cb.RxSbcQ = NULL;
#endif
/* Clear media task flag */