aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenDriver.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2010-03-29 20:51:48 -0700
committerElliott Hughes <enh@google.com>2010-03-29 20:51:48 -0700
commit4090926e3dd1affa71cf0233355ce3c3b5dd96b3 (patch)
tree20c29f69c222fe605bbb158a18821b69514d508e /vm/compiler/codegen/arm/CodegenDriver.c
parent0686bf0991133d2b2e84286bac8441e6c3d42748 (diff)
Fix a bug, and protect against an unrelated class of bugs.
If the Java array allocation in InetAddress.cpp failed, we'd free NULL instead of the previously-allocated structure. This is a new bug in froyo, but only happens in out of memory situations, so doesn't seem worth fixing there. Unrelatedly, let's disallow assignment and copying of all our RAII classes. This isn't a mistake I've seen made, but it's easy to protect against, so we may as well do so consistently. Change-Id: I2433b31ff983d388788b09e59e08d661f1725ecd
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions