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.
I found some memory leak issues in WireFitQLearn using Valgrind.
modelNet
andnetwork
are created in the constructor but not freed in the destructor. AlsoWireFitQLearn::reset
allocates memory fornetwork
but does not free the previously allocatednetwork
.