mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
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:
parent
23a0b60e59
commit
465cd42463
3 changed files with 10 additions and 6 deletions
|
@ -267,7 +267,7 @@ ExtAddrFinder::~ExtAddrFinder()
|
|||
|
||||
delete _found ;
|
||||
delete _searching ;
|
||||
delete _addr ;
|
||||
free (_addr) ;
|
||||
}
|
||||
|
||||
ExtAddrFinder::ExtAddrFinder()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue