[plugins] apple-trailer: unref source object on read reply
- From: Víctor Manuel Jáquez Leal <vjaquez igalia com>
- To: grilo-list gnome org
- Subject: [plugins] apple-trailer: unref source object on read reply
- Date: Thu, 9 Sep 2010 20:24:22 +0200
Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez igalia com>
---
src/apple-trailers/grl-apple-trailers.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/apple-trailers/grl-apple-trailers.c b/src/apple-trailers/grl-apple-trailers.c
index 087b6e1..3a86434 100644
--- a/src/apple-trailers/grl-apple-trailers.c
+++ b/src/apple-trailers/grl-apple-trailers.c
@@ -414,11 +414,14 @@ read_done_cb (GObject *source_object,
g_error_free (error);
g_slice_free (OperationData, op_data);
- return;
+ goto end_func;
}
xml_parse_result (content, op_data);
g_free (content);
+
+end_func:
+ g_object_unref (source_object);
}
static void
--
1.7.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]