Otherwise it's saving 2*image->width bytes of uninitialized memory image->height times into the DNG file.