From: Chris Tallon Date: Mon, 13 Apr 2015 15:14:02 +0000 (+0100) Subject: Fix missing fclose in WOL code X-Git-Tag: 0-5-0~33 X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=295c3a5015705e86f925e9dadb556f459c2c3b0f;p=vompclient.git Fix missing fclose in WOL code --- diff --git a/wol.cc b/wol.cc index 6b23680..0772d00 100644 --- a/wol.cc +++ b/wol.cc @@ -103,6 +103,7 @@ int Wol::find_ether(char *name) if (name[0] && !strcmp(ip, name)) { logger->log("Wol", Log::NOTICE, "Found etheraddr %s", ether_addr); + fclose(fp); return 1; } }