Fido
Fido copied to clipboard
Fixed WireFitQlearn's memory leak issue
I found some memory leak issues in WireFitQLearn using Valgrind.
modelNet and network are created in the constructor but not freed in the destructor.
Also WireFitQLearn::reset allocates memory for network but does not free the previously allocated network.