loolwsd/LOOLKit.cpp | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 0ca07a87b3e34c44fd920b7103bc56c718a1f459
Author: Henry Castro <[email protected]>
Date: Fri Aug 7 08:36:43 2015 -0400
loolwsd: destroy LOKit when child finished
diff --git a/loolwsd/LOOLKit.cpp b/loolwsd/LOOLKit.cpp
index 4aad389..818fdeb 100644
--- a/loolwsd/LOOLKit.cpp
+++ b/loolwsd/LOOLKit.cpp
@@ -194,6 +194,9 @@ int main(int argc, char** argv)
queue.clear();
queue.put("eof");
queueHandlerThread.join();
+
+ // Destroy LibreOfficeKit
+ loKit->pClass->destroy(loKit);
}
catch (Exception& exc)
{
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits