• Elliott Hughes's avatar
    We can use fclose directly in std::unique_ptr. · 63b089e3
    Elliott Hughes authored
    It turns out the standard explicitly states that if the pointer is
    null, the deleter function won't be called. So it doesn't matter that
    fclose(3) doesn't accept null.
    
    Change-Id: I10e6e0d62209ec03ac60e673edd46f32ba279a04
    63b089e3