mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-11-16 07:48:07 +01:00
fix leak
This commit is contained in:
parent
c3f5fb4639
commit
370c2f82f2
1 changed files with 2 additions and 0 deletions
|
@ -281,6 +281,7 @@ XWThreadPool::real_listener()
|
|||
if ( !RemoveSocket( socket ) ) {
|
||||
/* no further processing if it's been removed while
|
||||
we've been sleeping in poll */
|
||||
--nEvents;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -302,6 +303,7 @@ XWThreadPool::real_listener()
|
|||
considerFireTimer();
|
||||
|
||||
free( fds );
|
||||
free( log );
|
||||
}
|
||||
return NULL;
|
||||
} /* real_listener */
|
||||
|
|
Loading…
Reference in a new issue