summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-02-27 09:17:32 +0000
committerMichael Meeks <michael.meeks@suse.com>2013-02-27 09:18:49 +0000
commitb8e94517d3ff6847f1535317d42d2e38faf85f9e (patch)
tree5e1af25bed6bede6dc0bdd3c99f8f22b5ebaeb78 /sd
parentca3a1ae7f4a3a504e23eedcb5c8103d2d122e605 (diff)
sdremote: close socket in destructor.
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/remotecontrol/DiscoveryService.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/DiscoveryService.cxx b/sd/source/ui/remotecontrol/DiscoveryService.cxx
index 3f53681459d3..2cfa2624b598 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()