Marcel Holtmann <marcel(a)holtmann.org> writes:
Hi Neil,
> plugins/hso.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/plugins/hso.c b/plugins/hso.c
> index 4834c56..697beaa 100644
> --- a/plugins/hso.c
> +++ b/plugins/hso.c
> @@ -422,7 +422,7 @@ static void hso_set_online(struct ofono_modem *modem,
ofono_bool_t online,
>
> g_free(cbd);
>
> - CALLBACK_WITH_FAILURE(cb, cbd->data);
> + CALLBACK_WITH_FAILURE(cb, user_data);
> }
just put the g_free last. See plugins/ifx.c for example. It seems I
fixed most of the plugins, but forgot this one.
OK, will do, thanks.
Neil