Fix memory leak when going from the fast path to the slow path in eager
authorAkshay Modi <nareshmodi@google.com>
Tue, 22 May 2018 19:46:30 +0000 (12:46 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 22 May 2018 19:49:03 +0000 (12:49 -0700)
commitbf6644f9d274f549707d3f2a80c77e5eda163ebb
treefc538e15e0ff045a32a798121cf34a3b81294faa
parenta4c9efe6a5bf143f844b1cffbdc839c399620b9b
Fix memory leak when going from the fast path to the slow path in eager

Fixes #19385

PiperOrigin-RevId: 197607384
tensorflow/python/eager/pywrap_tfe_src.cc