mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
lib/libupnpclient/UPNPDevice.cpp: fix fd leak
Origin commit data
------------------
Branch: ni/coolstream
Commit: 418588e14a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-09-03 (Tue, 03 Sep 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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;
|
buf[received] = 0;
|
||||||
reply << buf;
|
reply << buf;
|
||||||
}
|
}
|
||||||
|
close(t_socket);
|
||||||
return reply.str();
|
return reply.str();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user