Corrected memory leak related to persistence of la_svm state