Fix memory leak in C interface
Update c_interface.cpp
Merge pull request #108 from sneves/master

Fix memory leak in C interface