eeeeeric / yEnc-Python3

Basic yEnc encoder and decoder for python3
GNU General Public License v3.0
6 stars 2 forks source link

memory leak #1

Open OliRM opened 8 years ago

OliRM commented 8 years ago

Fairly large memory leak in this library, not exactly sure where.

I'm decoding terabytes of information, and using this library very quickly uses up RAM. Swapping to an alternate library fixed the issue.

eeeeeric commented 8 years ago

Hi, thanks for letting me know. Unfortunately, I don't think I will get around to this anytime soon. If you have a fix though, please open a pull request. Thanks!

OliRM commented 8 years ago

No worries. I'll have a go at it later on this week.

dermatty commented 6 years ago

Just FYI, the fix consists in inserting "free(in);" in line 125 in file /src/_yenc.c.