Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed wrong free in SVRLight
  • Loading branch information
lisitsyn committed Jun 2, 2012
1 parent f0a2a12 commit 3e1dc47
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/shogun/regression/svr/SVRLight.cpp
Expand Up @@ -607,9 +607,6 @@ void CSVRLight::update_linear_component_mkl_linadd(
// restore old weights
kernel->set_subkernel_weights(SGVector<float64_t>(w_backup,num_weights));

SG_FREE(w_backup);
SG_FREE(w1);

call_mkl_callback(a, label, lin, c, totdoc);
}

Expand Down

0 comments on commit 3e1dc47

Please sign in to comment.