[grilo-plugins] apple-trailer: unref source object on read reply
- From: Victor Manuel Jaquez Leal <vjaquez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] apple-trailer: unref source object on read reply
- Date: Fri, 10 Sep 2010 11:35:37 +0000 (UTC)
commit f0d8ae98ef472b7d978b7977ae135c5a6b472e42
Author: VÃctor Manuel Jáquez Leal <vjaquez igalia com>
Date: Thu Sep 9 19:18:51 2010 +0200
apple-trailer: unref source object on read reply
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]