I am writing a C interface to tensorflow (which I compiled from source). Similar to https://goo.gl/gM37ln
, I created a tensorflow graph using https://goo.gl/SkL6at
and am trying to load it using https://goo.gl/b8eo5a
. It compiles fine, but segfaults with a double free error on line 78. Any ideas why? Is there something wrong with the way I am passing target_names to TF_Run?