I'm using VLFeat to train a Gaussian Mixture Model(GMM), and I'm not sure if I should manually free memory when the following commands are used:
float *means = (float *) vl_gmm_get_means(gmm);
float *covariances = (float *) vl_gmm_get_covariances(gmm);
float *priors = (float *) vl_gmm_get_priors(gmm);
Do I have to manually write codes like the following?
free(means);
free(covariances);
free(priors);
Thanks!