• Elliott Hughes's avatar
    Fix a bug, and protect against an unrelated class of bugs. · 7ca6fd0d
    Elliott Hughes authored
    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
    7ca6fd0d
LocalArray.h 2.2 KB