[Libreoffice-commits] core.git: sd/source

Michael Meeks michael.meeks at suse.com
Wed Feb 27 01:19:15 PST 2013


 sd/source/ui/remotecontrol/DiscoveryService.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b8e94517d3ff6847f1535317d42d2e38faf85f9e
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Wed Feb 27 09:17:32 2013 +0000

    sdremote: close socket in destructor.

diff --git a/sd/source/ui/remotecontrol/DiscoveryService.cxx b/sd/source/ui/remotecontrol/DiscoveryService.cxx
index 3f53681..2cfa262 100644
--- a/sd/source/ui/remotecontrol/DiscoveryService.cxx
+++ b/sd/source/ui/remotecontrol/DiscoveryService.cxx
@@ -76,6 +76,7 @@ DiscoveryService::DiscoveryService() :
 
 DiscoveryService::~DiscoveryService()
 {
+    close( mSocket );
 }
 
 void SAL_CALL DiscoveryService::run()


More information about the Libreoffice-commits mailing list