summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <jasuarez@igalia.com>2014-02-07 21:32:15 +0000
committerJuan A. Suarez Romero <jasuarez@igalia.com>2014-02-09 02:06:21 +0000
commit89a150bbcae17bbd804b601676cadcfc3e7eb7a4 (patch)
tree0f1d54e77bab66e5b23269bffdb6b905064ccfcf
parent9ca87da151c8f64d903fdccffe1db0c54bc160d2 (diff)
downloadgrilo-plugins-89a150bbcae17bbd804b601676cadcfc3e7eb7a4.tar.gz
doc: Update TMDb example
Call grl_deinit() at the end. https://bugzilla.gnome.org/show_bug.cgi?id=710185
-rw-r--r--help/examples/example-tmdb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/help/examples/example-tmdb.c b/help/examples/example-tmdb.c
index 7050aca..71186ee 100644
--- a/help/examples/example-tmdb.c
+++ b/help/examples/example-tmdb.c
@@ -144,6 +144,11 @@ int main (int argc, char *argv[])
g_object_unref (media);
g_object_unref (config);
g_object_unref (options);
+
+ /*
+ * Deinitialize Grilo:
+ */
+ grl_deinit ();
}