[grilo] examples: call grl_deinit()



commit ee153974cc762ac7baacb46869882a64a3e5c848
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Fri Feb 7 21:01:09 2014 +0000

    examples: call grl_deinit()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710185

 examples/browsing.c                      |    1 +
 examples/configuring-plugins.c           |    2 ++
 examples/efficient-metadata-resolution.c |    1 +
 examples/loading-plugins.c               |    2 ++
 examples/multivalues.c                   |    1 +
 examples/searching.c                     |    1 +
 6 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/examples/browsing.c b/examples/browsing.c
index 461d576..c58f020 100644
--- a/examples/browsing.c
+++ b/examples/browsing.c
@@ -132,5 +132,6 @@ main (int argc, gchar *argv[])
   load_plugins ();
   loop = g_main_loop_new (NULL, FALSE);
   g_main_loop_run (loop);
+  grl_deinit ();
   return 0;
 }
diff --git a/examples/configuring-plugins.c b/examples/configuring-plugins.c
index 40d504d..b30455f 100644
--- a/examples/configuring-plugins.c
+++ b/examples/configuring-plugins.c
@@ -65,5 +65,7 @@ main (int argc, gchar *argv[])
   loop = g_main_loop_new (NULL, FALSE);
   g_main_loop_run (loop);
 
+  grl_deinit ();
+
   return 0;
 }
diff --git a/examples/efficient-metadata-resolution.c b/examples/efficient-metadata-resolution.c
index 3b3ee72..49412e0 100644
--- a/examples/efficient-metadata-resolution.c
+++ b/examples/efficient-metadata-resolution.c
@@ -161,6 +161,7 @@ main (int argc, gchar *argv[])
   load_plugins ();
   loop = g_main_loop_new (NULL, FALSE);
   g_main_loop_run (loop);
+  grl_deinit ();
 
   return 0;
 }
diff --git a/examples/loading-plugins.c b/examples/loading-plugins.c
index 9893c36..263be23 100644
--- a/examples/loading-plugins.c
+++ b/examples/loading-plugins.c
@@ -67,5 +67,7 @@ main (int argc, gchar *argv[])
   loop = g_main_loop_new (NULL, FALSE);
   g_main_loop_run (loop);
 
+  grl_deinit ();
+
   return 0;
 }
diff --git a/examples/multivalues.c b/examples/multivalues.c
index b492849..389410d 100644
--- a/examples/multivalues.c
+++ b/examples/multivalues.c
@@ -128,5 +128,6 @@ main (int argc, gchar *argv[])
   load_plugins ();
   loop = g_main_loop_new (NULL, FALSE);
   g_main_loop_run (loop);
+  grl_deinit ();
   return 0;
 }
diff --git a/examples/searching.c b/examples/searching.c
index c8eea3d..bd5c4ae 100644
--- a/examples/searching.c
+++ b/examples/searching.c
@@ -106,5 +106,6 @@ main (int argc, gchar *argv[])
   load_plugins ();
   loop = g_main_loop_new (NULL, FALSE);
   g_main_loop_run (loop);
+  grl_deinit ();
   return 0;
 }


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