[PATCH 3/6] mbimcli,atds: fix memory leaks
Aleksander Morgado
aleksander at aleksander.es
Thu Jul 27 09:00:51 UTC 2017
On 27/07/17 03:44, Ben Chan wrote:
> ---
> src/mbimcli/mbimcli-atds.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Pushed to git master.
> diff --git a/src/mbimcli/mbimcli-atds.c b/src/mbimcli/mbimcli-atds.c
> index b991120..916ad0c 100644
> --- a/src/mbimcli/mbimcli-atds.c
> +++ b/src/mbimcli/mbimcli-atds.c
> @@ -149,6 +149,7 @@ query_signal_ready (MbimDevice *device,
> &error)) {
> g_printerr ("error: couldn't parse response message: %s\n", error->message);
> g_error_free (error);
> + mbim_message_unref (response);
> shutdown (FALSE);
> return;
> }
> @@ -273,6 +274,7 @@ query_location_ready (MbimDevice *device,
> &error)) {
> g_printerr ("error: couldn't parse response message: %s\n", error->message);
> g_error_free (error);
> + mbim_message_unref (response);
> shutdown (FALSE);
> return;
> }
>
--
Aleksander
https://aleksander.es
More information about the libmbim-devel
mailing list