Re: [plugins] apple-trailer: unref source object on read reply
- From: Víctor M. Jáquez L. <vjaquez igalia com>
- To: grilo-list gnome org
- Subject: Re: [plugins] apple-trailer: unref source object on read reply
- Date: Fri, 10 Sep 2010 13:35:13 +0200
On Thu, Sep 09, 2010 at 08:24:22PM +0200, Víctor Manuel Jáquez Leal wrote:
> 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
pushed.
vmjl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]