[tepl] MetadataStore: unref singleton in tepl_finalize()



commit e5c7addaf3ca0b27e88d5af6fa7787718cb6c3f9
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu Apr 16 23:46:38 2020 +0200

    MetadataStore: unref singleton in tepl_finalize()

 tepl/tepl-init.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/tepl/tepl-init.c b/tepl/tepl-init.c
index 578e060..64d41da 100644
--- a/tepl/tepl-init.c
+++ b/tepl/tepl-init.c
@@ -21,6 +21,7 @@
 #include <amtk/amtk.h>
 #include <gtksourceview/gtksource.h>
 #include "tepl-abstract-factory.h"
+#include "tepl-metadata-store.h"
 
 /**
  * tepl_init:
@@ -74,6 +75,7 @@ tepl_finalize (void)
 
        if (!done)
        {
+               _tepl_metadata_store_unref_singleton ();
                _tepl_abstract_factory_unref_singleton ();
 
                /* Since Tepl depends on Amtk and GtkSourceView, it's better to


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]