From 57cfefb6a931f98148ad4efbc447ad7d3f6d2ddd Mon Sep 17 00:00:00 2001 From: Andy2 Date: Wed, 29 Jun 2011 18:45:02 -0700 Subject: [PATCH] fix leaks -- that don't really matter as process is exiting, but quiets valgrind. --- xwords4/relay/tpool.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xwords4/relay/tpool.cpp b/xwords4/relay/tpool.cpp index 274006621..cbac92efa 100644 --- a/xwords4/relay/tpool.cpp +++ b/xwords4/relay/tpool.cpp @@ -383,6 +383,12 @@ XWThreadPool::real_listener() } } + free( fds ); + free( stypes ); +#ifdef LOG_POLL + free( log ); +#endif + logf( XW_LOGINFO, "real_listener returning" ); return NULL; } /* real_listener */