mirror of git://git.sysmocom.de/ofono
xmm7modem: Fix memory leak in netmon
This commit is contained in:
parent
37d856c071
commit
352a9f4b23
|
@ -202,6 +202,7 @@ static void xmm7modem_netmon_request_update(struct ofono_netmon *netmon,
|
||||||
xmci_cb, cbd, g_free) > 0)
|
xmci_cb, cbd, g_free) > 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
g_free(cbd);
|
||||||
CALLBACK_WITH_FAILURE(cb, data);
|
CALLBACK_WITH_FAILURE(cb, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue