On 08/02/2019 09:55, Roman Haefeli wrote:
> I see that your version of [conv~] uses [else/dir] internally and this
> external of yours is still leaking file handles. I think I already
> reported this, but can't find an open issue about it. Maybe you closed
> them, despite them not being fixed.
https://github.com/porres/pd-else/blob/9b259f24569a13069c5842ec0f598e8fe96c8cbc/Classes/Source/dir.c#L75
the leak seems to be on this line. you should keep the return value of
opendir and be sure to close it when no longer necessary.
wow, look at that :) Thanks! I'll get on it as soon as I can.