summaryrefslogtreecommitdiff
path: root/tests/test5-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test5-main.c')
-rw-r--r--tests/test5-main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test5-main.c b/tests/test5-main.c
index 59d81aa..1610382 100644
--- a/tests/test5-main.c
+++ b/tests/test5-main.c
@@ -192,7 +192,10 @@ test_sel_eng (guchar * a_file_uri)
cr_stylesheet_destroy (stylesheet);
stylesheet = NULL;
}
-
+ if (selection_engine) {
+ cr_sel_eng_destroy (selection_engine) ;
+ selection_engine = NULL ;
+ }
xmlCleanupParser ();
return status;