cjlin1 / libsvm

LIBSVM -- A Library for Support Vector Machines
https://www.csie.ntu.edu.tw/~cjlin/libsvm/
BSD 3-Clause "New" or "Revised" License
4.52k stars 1.64k forks source link

Fix memory leak of prob_density_marks and avoid a copy #193

Closed bloomen closed 1 year ago

bloomen commented 1 year ago

This is in svm_train() for ONE_CLASS and when probability == 1.

cjlin1 commented 1 year ago

Committed to our internal repository on your behalf. Will be available in the next release (in one or two months I think). Thank you again for the help.