diff options
author | Jesse Hall <jessehall@google.com> | 2013-01-14 15:59:32 -0800 |
---|---|---|
committer | Jesse Hall <jessehall@google.com> | 2013-01-14 16:33:29 -0800 |
commit | 7c36cd231542990e0ef8240fcc8dfd35a9e4b38b (patch) | |
tree | e006cbec1687bf17393ca2273565e68d001a57ac /libs | |
parent | 800856a7b7f8d89c1a64955f152549b8f42cd3e0 (diff) | |
download | frameworks_native-7c36cd231542990e0ef8240fcc8dfd35a9e4b38b.zip frameworks_native-7c36cd231542990e0ef8240fcc8dfd35a9e4b38b.tar.gz frameworks_native-7c36cd231542990e0ef8240fcc8dfd35a9e4b38b.tar.bz2 |
Fix memory leak when getting signal time for unsignaled fences
Bug: 8000983
Change-Id: Ie88ed23fc5e8c95bfade364e090e90b7f070fa8e
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ui/Fence.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ui/Fence.cpp b/libs/ui/Fence.cpp index 84f5a47..a01ac29 100644 --- 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; } |