loolwsd/LOOLWSD.cpp | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 9933ef86758a06d75997b4550413b828f62e0cb1
Author: Henry Castro <[email protected]>
Date: Thu Dec 3 17:41:12 2015 -0400
loolwsd: destroy lokit document when a child dies
diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp
index 0e0cc70..4bfb097 100644
--- a/loolwsd/LOOLWSD.cpp
+++ b/loolwsd/LOOLWSD.cpp
@@ -984,6 +984,10 @@ void LOOLWSD::componentMain()
queue.put("eof");
queueHandlerThread.join();
+ // Destroy lokit document
+ if (session->_loKitDocument)
+ session->_loKitDocument->pClass->destroy(session->_loKitDocument);
+
// Destroy LibreOfficeKit
loKit->pClass->destroy(loKit);
}
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits