xmm7modem: Fix memory leak in netmon

This commit is contained in:
Denis Kenzior 2018-10-12 13:45:23 -05:00
parent 37d856c071
commit 352a9f4b23
1 changed files with 1 additions and 0 deletions

View File

@ -202,6 +202,7 @@ static void xmm7modem_netmon_request_update(struct ofono_netmon *netmon,
xmci_cb, cbd, g_free) > 0)
return;
g_free(cbd);
CALLBACK_WITH_FAILURE(cb, data);
}