fix memory leaks on delete unallocated datablock data