Skip to content

memory leak in  #58

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions