This commit is contained in:
irungentoo 2014-10-17 16:03:02 -04:00
commit 418bb2b194
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98
3 changed files with 7 additions and 0 deletions

View File

@ -699,6 +699,8 @@ static void timer_terminate_session(TimerHandler *handler)
free(handler->timers);
pthread_mutex_destroy( &handler->mutex );
free(handler);
}
/**

View File

@ -86,6 +86,10 @@ static void fetch_broadcast_info(uint16_t port)
pAdapter = pAdapter->Next;
}
}
if (pAdapterInfo) {
free(pAdapterInfo);
}
}
#elif defined(__linux__)

View File

@ -805,6 +805,7 @@ static int handle_TCP_packet(TCP_Server *TCP_server, uint32_t con_id, const uint
return -1;
IP_Port source;
source.port = 0; // dummy initialise
source.ip.family = TCP_ONION_FAMILY;
source.ip.ip6.uint32[0] = con_id;
source.ip.ip6.uint64[1] = con->identifier;