fix memory leak in predict + predict_probability
Merge pull request #13 from sch1zo/fix_memory_leak_in_predict

fix memory leak in predict + predict_probability