summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <jasuarez@igalia.com>2013-01-22 18:39:28 (GMT)
committerJuan A. Suarez Romero <jasuarez@igalia.com>2013-01-22 18:39:28 (GMT)
commita17eef23d22890c77dac071e501c7fbae80b6b35 (patch)
tree8b86367695bb1d211f766eb5bd1cfb32f2c0a887
parent04b6e346f51cd25c8077b391d1d9950860fd8e65 (diff)
downloadgrilo-plugins-a17eef23d22890c77dac071e501c7fbae80b6b35.tar.gz
grilo-plugins-a17eef23d22890c77dac071e501c7fbae80b6b35.tar.xz
tmdb: Do not leak JsonNodes
That were copied in previous commit.
-rw-r--r--src/tmdb/grl-tmdb.c2
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;