Free Pointer in Write