Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memory leak in #58

Open
GoogleCodeExporter opened this issue Mar 7, 2016 · 1 comment
Open

memory leak in #58

GoogleCodeExporter opened this issue Mar 7, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

There is a small memory leak in mexClassRF_train.

Adding the following lines:

    if (tst_available) {}
    else {
      free(xts);
      free(yts);
    }

to mex_ClassificationRF_train.cpp at line 273 fixes the problem.


Original issue reported on code.google.com by pieter.e...@gmail.com on 7 May 2013 at 9:46

@GoogleCodeExporter
Copy link
Author

thanks a lot. i will look into it soon.

Original comment by abhirana on 8 May 2013 at 6:51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant