OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
800856a
)
Fix memory leak when getting signal time for unsignaled fences
author
Jesse Hall
<jessehall@google.com>
Mon, 14 Jan 2013 23:59:32 +0000
(15:59 -0800)
committer
Jesse Hall
<jessehall@google.com>
Tue, 15 Jan 2013 00:33:29 +0000
(16:33 -0800)
Bug:
8000983
Change-Id: Ie88ed23fc5e8c95bfade364e090e90b7f070fa8e
libs/ui/Fence.cpp
patch
|
blob
|
history
diff --git
a/libs/ui/Fence.cpp
b/libs/ui/Fence.cpp
index
84f5a47
..
a01ac29
100644
(file)
--- a/
libs/ui/Fence.cpp
+++ b/
libs/ui/Fence.cpp
@@
-100,6
+100,7
@@
nsecs_t Fence::getSignalTime() const {
return -1;
}
if (finfo->status != 1) {
+ sync_fence_info_free(finfo);
return INT64_MAX;
}