Compare commits
2 Commits
057a23d435
...
a389003199
Author | SHA1 | Date | |
---|---|---|---|
a389003199 | |||
eac5e73528 |
@ -32,6 +32,9 @@ void discovery_cache_destroy(struct cw_DiscoveryCache * c)
|
||||
if (c->byaddrp)
|
||||
mavl_destroy(c->byaddrp);
|
||||
|
||||
if (c->queue)
|
||||
free(c->queue);
|
||||
|
||||
free(c);
|
||||
}
|
||||
|
||||
|
@ -133,6 +133,9 @@ void connlist_destroy ( struct connlist * cl )
|
||||
|
||||
if ( cl->by_addr )
|
||||
mavl_destroy ( cl->by_addr );
|
||||
if ( cl->by_session_id)
|
||||
mavl_destroy ( cl->by_session_id );
|
||||
|
||||
|
||||
pthread_mutex_destroy ( &cl->connlist_mutex );
|
||||
free ( cl );
|
||||
|
Loading…
Reference in New Issue
Block a user