Memory leak:

- getLocalInterfaces -> iptable = (MIB_IPADDRTABLE *) malloc(dwSize);
- main -> RshareSettings  *_settings = new RshareSettings();

ExtAddrFinder::~ExtAddrFinder - use free for pointer allocated with malloc


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2882 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-05-09 21:58:28 +00:00
parent 23a0b60e59
commit 465cd42463
3 changed files with 10 additions and 6 deletions

View file

@ -352,6 +352,8 @@ std::list<std::string> getLocalInterfaces()
addrs.push_back(inet_ntoa(addr));
}
free (iptable);
return addrs;
}