summaryrefslogtreecommitdiffstats
path: root/Source/WebCore
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-04-05 11:40:27 +0100
committerSteve Block <steveblock@google.com>2012-04-05 11:40:27 +0100
commit02e159d45d6ecf733b834c350ef2035cd979a200 (patch)
tree58477a9b660c2433075a084efff18691a65b24e8 /Source/WebCore
parent27ecdfb1b551244c4c15289fa375f07bee2f95da (diff)
downloadexternal_webkit-02e159d45d6ecf733b834c350ef2035cd979a200.zip
external_webkit-02e159d45d6ecf733b834c350ef2035cd979a200.tar.gz
external_webkit-02e159d45d6ecf733b834c350ef2035cd979a200.tar.bz2
Avoid leaking a JNI local ref in JavaInputStreamWrapper::read()
Make sure we release the local ref returned by NewByteArray() once we've taken a global ref to the array. Also fix up the rest of the file to use ScopedLocalRef to avoid this kind of problem in future. Bug: 5498704 Change-Id: I33754a0188a3c08a5c34d0e161cd7073f83070c6
Diffstat (limited to 'Source/WebCore')
0 files changed, 0 insertions, 0 deletions