When using gsl there is a memory leak in ighmm_rand_multivariate_normal_density: The gsl vector gmean is allocated but not freed. Just add gsl_vector_free(gmean); at the end of the function
Log in to post a comment.