Commit 3f172b5d authored by Derek Murray's avatar Derek Murray Committed by TensorFlower Gardener
Browse files

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
parent 847b5f84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment