Commit a58bb372 authored by Aleksander Morgado's avatar Aleksander Morgado
Browse files

libmbim-glib,proxy: fix wrong message unref in MBIMEx reporting logic

We're not taking a full reference to the MbimMessage with
g_object_get_data() and therefore we must not free the object when
going out of context.
parent ab218ded
......@@ -665,8 +665,8 @@ proxy_config_internal_device_open_ready (MbimProxy *self,
GAsyncResult *res,
Request *request)
{
g_autoptr(GError) error = NULL;
g_autoptr(MbimMessage) indication = NULL;
g_autoptr(GError) error = NULL;
MbimMessage *indication;
if (!internal_device_open_finish (self, res, &error)) {
g_warning ("[client %lu,0x%08x] cannot configure proxy: couldn't open MBIM device: %s",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment