Skip to content

Commit

Permalink
Fixed memory leak in libsvm
Browse files Browse the repository at this point in the history
  • Loading branch information
bdholt1 committed Aug 30, 2011
1 parent 9039d1c commit d714982
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scikits/learn/svm/src/libsvm/svm.cpp
Expand Up @@ -908,6 +908,7 @@ void Solver::Solve(int l, const QMatrix& Q, const double *p_, const schar *y_,
delete[] active_set;
delete[] G;
delete[] G_bar;
delete[] C;
}

// return 1 if already optimal, return 0 otherwise
Expand Down

0 comments on commit d714982

Please sign in to comment.