[grilo-plugins] bliptv: Free data when operation is finished
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] bliptv: Free data when operation is finished
- Date: Wed, 4 Sep 2013 14:53:29 +0000 (UTC)
commit 474455d851f7c2e277fda384d48be6e432dc58fa
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Wed Sep 4 12:07:04 2013 +0000
bliptv: Free data when operation is finished
src/bliptv/grl-bliptv.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/bliptv/grl-bliptv.c b/src/bliptv/grl-bliptv.c
index d8d30f6..3849fc3 100644
--- a/src/bliptv/grl-bliptv.c
+++ b/src/bliptv/grl-bliptv.c
@@ -431,8 +431,6 @@ call_raw_async_cb (GObject * source_object,
NULL);
}
- bliptv_operation_free (op);
-
finalize_free:
if (xpath)
xmlXPathFreeContext (xpath);
@@ -485,7 +483,7 @@ grl_bliptv_source_browse (GrlSource *source,
op->callback = bs->callback;
op->user_data = bs->user_data;
- grl_operation_set_data (bs->operation_id, op);
+ grl_operation_set_data_full (bs->operation_id, op, (GDestroyNotify) bliptv_operation_free);
url = g_strdup_printf (op->url, page_number);
@@ -527,7 +525,7 @@ grl_bliptv_source_search (GrlSource *source,
op->user_data = ss->user_data;
- grl_operation_set_data (ss->operation_id, op);
+ grl_operation_set_data_full (ss->operation_id, op, (GDestroyNotify) bliptv_operation_free);
url = g_strdup_printf (op->url, page_number);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]