mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 02:44:20 -05: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
@ -263,7 +263,8 @@ ExtAddrFinder::ExtAddrFinder()
|
|||||||
_searching = new bool ;
|
_searching = new bool ;
|
||||||
*_searching = false ;
|
*_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)) ;
|
_addr = (sockaddr_in*)malloc(sizeof(sockaddr_in)) ;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user