mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
lib/libupnpclient/UPNPDevice.cpp: fix fd leak
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user