OSDN Git Service
(root)
/
android-x86
/
hardware-ril.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6737ebc
)
Add a missing MUTEX_RELEASE() in ril_event_del
author
Axel Lin
<axel.lin@gmail.com>
Wed, 29 Dec 2010 07:34:56 +0000
(15:34 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Fri, 15 Apr 2011 10:24:31 +0000
(18:24 +0800)
In the case of (ev->index < 0 || ev->index >= MAX_FD_EVENTS),
we must call MUTEX_RELEASE() before return.
Change-Id: Ic0b21a8e1fbc940c4bfcc1fc8b606536e2484c71
libril/ril_event.cpp
patch
|
blob
|
history
diff --git
a/libril/ril_event.cpp
b/libril/ril_event.cpp
index
e40e72b
..
4a4b330
100644
(file)
--- a/
libril/ril_event.cpp
+++ b/
libril/ril_event.cpp
@@
-319,6
+319,7
@@
void ril_event_del(struct ril_event * ev)
MUTEX_ACQUIRE();
if (ev->index < 0 || ev->index >= MAX_FD_EVENTS) {
+ MUTEX_RELEASE();
return;
}