lib/libupnpclient/UPNPDevice.cpp: fix fd leak

This commit is contained in:
[CST] Focus
2013-09-03 11:41:34 +04:00
parent a99395cb05
commit 418588e14a

View File

@@ -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();
}