From 0bed662171dea7b30ac3af12093b5196f2497a49 Mon Sep 17 00:00:00 2001 From: Andrzej Hunt Date: Mon, 21 Jul 2014 19:39:49 +0200 Subject: gtktiledviewer: make sure we clean up the office instance. Change-Id: I12c3e9df8b8fcf8dcd6fb5fa781c2f7c10ab0a0c --- libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libreofficekit') diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx index 3c8dc9730756..188744234afd 100644 --- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx +++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx @@ -226,5 +226,9 @@ int main( int argc, char* argv[] ) gtk_main(); + pOffice->pClass->destroy( pOffice ); + return 0; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit