← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 517948] Re: Memory leak while hashing

 

My patch prevents exit from loop (due to size_left <= 0) without doing munmap. And it does not cause munmap to be called twice.
The patch was made against 1.0.3.

However, the code in trunk (rev 1.351) does not have this problem and is
ok.

-- 
Memory leak while hashing
https://bugs.launchpad.net/bugs/517948
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.

Status in Linux DC++: Incomplete

Bug description:
Looks like memory mappings are destroyed on Linux when the file descriptor is closed. This is not the case on FreeBSD.

Please see attached patch.





References