summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2011-08-10 21:07:02 -0700
committer Mathias Agopian <mathias@google.com> 2011-08-11 22:33:02 -0700
commitcbe527884acf0f8f8c550c54f99b4dd864ac1e70 (patch)
tree1843deb50499d11ac8999210a4476cf322dd9a96 /libs/ui/FramebufferNativeWindow.cpp
parent47d0812977b7acc4fed6a823203770a57f7a6b78 (diff)
fix a memory leak and memory corruption in RefBase
we would leak a weakref_impl if a RefBase was never incWeak()'ed. there was also a dangling pointer that would cause memory corruption and double-delete when a custom destroyer was used to delay the execution of ~RefBase. it turns out that the custom destroyer feature caused most of the problems, so it's now gone. The only client was SurfaceFlinger who now handles things on its own. RefBase is essentially back its "gingerbread" state, but the code was slightly cleaned-up. Bug: 5151207, 5084978 Change-Id: Id6ef1d707f96d96366f75068f77b30e0ce2722a5
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions