Commit 87b040bc authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

Free queues when Initialize() fails.

All queue ops except for RandomShuffleQueue do not unref correctly when
Initialize() fails. Since the caller does not free the queue when returned
status is fail, this is memory leak.

Fixing all other queue ops as done in RandomShuffleQueue.
Change: 133673012
parent 690657d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment