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

Fixed potential memory leaks.

- ANeuralNetworksCompilation object was not deleted when ANeuralNetworksCompilation_finish() failed.
- ANeuralNetworksExecution object was not deleted when Invoke() failed.
- ANeuralNetworksEvent object was not deleted when ANeuralNetworksEvent_wait() failed.

PiperOrigin-RevId: 237166482
parent 9fa3d27c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment