summaryrefslogtreecommitdiff
path: root/libs/androidfw/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Chet Haase <chet@google.com> 2012-03-13 11:42:34 -0700
committer Chet Haase <chet@google.com> 2012-03-13 11:42:34 -0700
commit491189f6bb81827a0c8e343f89420a9bcd2e62ae (patch)
treed7b43525815c2a8bf13bbc00b8363f8c6d83ddda /libs/androidfw/KeyLayoutMap.cpp
parent3c9d9c18b41d052c76bad10a448d3acce024649b (diff)
Fix garbage deref with DisplayList property structures
This is the real fix to issue 6158892. We currently delete transform/camera structures at DisplayList destructor time, if these structures are not NULL. We set the fields to NULL in an init() method called (eventually) by the constructor. But it is possible for the object to be destroyed before that init code is called, resulting in the deref bug reported. The fi is to set these structures to NULL directly in the constructor. Issue 6158892i: Device runtime restarts frequently Change-Id: Ibfa0f9314767eed6fd51f4ec7edc0d0edd5fdd0f
Diffstat (limited to 'libs/androidfw/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions