summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-06-29 19:17:59 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-07-17 16:40:18 +0200
commitac08e4b3369131e75fbd6780c2b1cd10231f508d (patch)
tree256eae86e69f5ce760669ab72b24c5e5b670a44d
parenttubes: use new TeleManager::get() method without parameter (diff)
downloadcore-ac08e4b3369131e75fbd6780c2b1cd10231f508d.tar.gz
core-ac08e4b3369131e75fbd6780c2b1cd10231f508d.zip
tubes: unref TeleManager if we do not store the pointer
-rw-r--r--sc/source/ui/collab/sendfunc.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/collab/sendfunc.cxx b/sc/source/ui/collab/sendfunc.cxx
index f58fd6a0106d..9ab6e789acaf 100644
--- a/sc/source/ui/collab/sendfunc.cxx
+++ b/sc/source/ui/collab/sendfunc.cxx
@@ -302,6 +302,7 @@ bool ScDocFuncSend::InitTeleManager( bool bIsMaster )
return true;
}
fprintf( stderr, "Could not connect.\n" );
+ pManager->unref();
return false;
}