Fix memory leak in `XlaTensorBuffer`.
My recent change to devirtualize `TensorBuffer::data()` had a bug, in that it continued to use the now-uninitialized `XlaTensorBuffer::data_` field to decide whether to free the buffer. PiperOrigin-RevId: 224168862
Loading
Please sign in to comment