Re: Freeing gerrors
- From: Iago Toral <itoral igalia com>
- To: <grilo-list gnome org>
- Subject: Re: Freeing gerrors
- Date: Tue, 13 Jul 2010 12:44:43 +0200
On Tue, 13 Jul 2010 09:30:29 +0200, "Juan A. Suarez Romero"
<jasuarez igalia com> wrote:
> Hi.
>
>
> In most Grilo's callbacks, there is a GError parameter set when there is
> an error.
>
> Who should free that error? Client in the callback or caller after
> executing the callback?
>
> For what I know, standard way is that client must free the error in the
> callback. But I would like to be sure before digging the code and making
> sure it is always done in that way.
currently it is assumed that the creator of the GError will free it after the
callback execution.
Iago
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]