void fann_destroy(struct fann * ann);
fann_destroy will destroy an artificial neural network, properly freeing all associate memory.
fann_destroy
This function appears in FANN >= 1.0.0.