Fix free issue

This commit is contained in:
julienChemillier 2023-05-31 08:52:14 +02:00
parent 3d0af7da2a
commit 7e4f9167fa

View File

@ -283,9 +283,9 @@ void free_d_network(Network* network) {
free_d_dense_linearisation(network, i);
}
}
gree(network->kernel[i], true);
gree(d_network->kernel[i], true);
}
gree(network->kernel, true);
gree(d_network->kernel, true);
pthread_mutex_destroy(&(d_network->lock));
gree(network, true);
gree(d_network, true);
}