OSDN Git Service

Fix a small memory leak.
authorElliott Hughes <enh@google.com>
Sat, 7 Jan 2012 01:25:14 +0000 (17:25 -0800)
committerElliott Hughes <enh@google.com>
Thu, 19 Apr 2012 22:06:02 +0000 (15:06 -0700)
commit7e2f0ea6e610787e628635f020b5b6f4e90b59f5
tree5ed405a2d374fb4db79d1709840b05052b5d0b34
parent2a3cc744730ec76a05b31df8ac5b6de538d6d70b
Fix a small memory leak.

Found by someone reading the code, rather than because we saw a crash. This is
only a small leak, and you'd have to be dumping threads (because of an ANR) or
creating a new thread to provoke it.

(cherry picked from commit 6d1a1dfd0ef006e19067b6ffd927160d0c6d9647)

Change-Id: Id857efca8d34b20d1acaa452c3fe5d2975e2572b
vm/Thread.cpp