summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorGeorge Burgess IV <gbiv@google.com>2018-02-17 23:16:39 -0800
committerGeorge Burgess IV <gbiv@google.com>2018-02-18 21:57:10 -0800
commitccb0019c9c60617dcd420c6c92a931e1d82c4920 (patch)
tree2933beeccfa8ea7f51d51d65f996b5f475ccf867 /compiler/optimizing/graph_visualizer.cc
parentb2a9999a6d1bb804f06902404879bdbe55ed0ec3 (diff)
Fix a memory leak
dex_file is meant to take ownership of `container`. There's at least one path (`error_msg = "Invalid or truncated dex file";`) where `container` never gets passed along to a dex_file. Caught by the static analyzer: art/runtime/dex/dex_file_loader.cc:406:45: warning: Potential memory leak Bug: None Test: Reran the analyzer. Memory leak complaints are gone. Change-Id: Ib57008e444d32b366bb2beabec8e39b8e84fd9db
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions