chokkan / crfsuite

CRFsuite: a fast implementation of Conditional Random Fields (CRFs)
http://www.chokkan.org/software/crfsuite/
Other
648 stars 208 forks source link

Memory leak fix #85

Closed seal256 closed 7 years ago

seal256 commented 7 years ago

model->buffer_orig is always NULL and therefore is not properly destroyed in crf1dm_close

usptact commented 7 years ago

Good catch!

tavianator commented 7 years ago

Dupe of https://github.com/chokkan/crfsuite/pull/74

chokkan commented 7 years ago

@sweetshore Thank you for reporting this. I'm sorry for bothering you because I haven't merged the PR #74. This fix is now in the master.

seal256 commented 7 years ago

@chokkan Thanks for your awesome package))