chrisspen/weka

Wrong usage of tempfile.mkstemp causes file descriptor leaks in linux eventually crashing the process

fabiofabris opened this issue · 1 comments

The quick fix:

Replace
xpto = tempfile.mkstemp(...)[1]

To:
fd, xpto = tempfile.mkstemp(...)
os.close(fd)

Thanks for the report. I've committed your fix.