mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
fix uninitialized pointer fir libupnp
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1782 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0497666009
commit
cabf6260c2
1 changed files with 2 additions and 1 deletions
|
@ -263,7 +263,8 @@ ExtAddrFinder::ExtAddrFinder()
|
|||
_searching = new bool ;
|
||||
*_searching = false ;
|
||||
|
||||
*mFoundTS = time(NULL) - MAX_IP_STORE;
|
||||
mFoundTS = new time_t;
|
||||
*mFoundTS = time(NULL) - MAX_IP_STORE;
|
||||
|
||||
_addr = (sockaddr_in*)malloc(sizeof(sockaddr_in)) ;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue