[grilo-plugins] tmdb: Do not leak JsonNodes
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] tmdb: Do not leak JsonNodes
- Date: Tue, 22 Jan 2013 18:41:36 +0000 (UTC)
commit a17eef23d22890c77dac071e501c7fbae80b6b35
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Tue Jan 22 18:39:28 2013 +0000
tmdb: Do not leak JsonNodes
That were copied in previous commit.
src/tmdb/grl-tmdb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tmdb/grl-tmdb.c b/src/tmdb/grl-tmdb.c
index 67dd21a..09d697e 100644
--- a/src/tmdb/grl-tmdb.c
+++ b/src/tmdb/grl-tmdb.c
@@ -825,7 +825,7 @@ on_request_ready (GObject *source,
g_date_time_unref (pubdate);
}
- g_list_free (values);
+ g_list_free_full (values, (GDestroyNotify) json_node_free);
}
}
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]