From 8189fa454f69e5f6a038769ffe84fc01eda8230a Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 3 Sep 2013 11:41:34 +0400 Subject: [PATCH] lib/libupnpclient/UPNPDevice.cpp: fix fd leak Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/418588e14ade974d4380ea14a57ad4eda5e853c3 Author: [CST] Focus Date: 2013-09-03 (Tue, 03 Sep 2013) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- lib/libupnpclient/UPNPDevice.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libupnpclient/UPNPDevice.cpp b/lib/libupnpclient/UPNPDevice.cpp index 98660c2b9..bc8aa49bb 100644 --- a/lib/libupnpclient/UPNPDevice.cpp +++ b/lib/libupnpclient/UPNPDevice.cpp @@ -438,6 +438,7 @@ std::string CUPnPDevice::HTTP(std::string url, std::string post, std::string act buf[received] = 0; reply << buf; } + close(t_socket); return reply.str(); }