From: axfree Date: Thu, 31 Mar 2016 07:15:26 +0000 (+0900) Subject: Fix epggrab to close accepted socket after grabbing X-Git-Tag: v4.2.1~762 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25f2e54ddf94c49a5301d44ac91ecbc01abce3f3;p=thirdparty%2Ftvheadend.git Fix epggrab to close accepted socket after grabbing --- diff --git a/src/epggrab/module.c b/src/epggrab/module.c index d4af185c7..f4ffe4ea4 100644 --- a/src/epggrab/module.c +++ b/src/epggrab/module.c @@ -463,6 +463,7 @@ static void *_epggrab_socket_thread ( void *p ) if (s <= 0) continue; tvhlog(LOG_DEBUG, mod->id, "got connection %d", s); _epggrab_socket_handler(mod, s); + close(s); } tvhlog(LOG_DEBUG, mod->id, "terminated"); return NULL;