mirror of git://git.sysmocom.de/ofono
hfpmodem: fix memory leak
This commit is contained in:
parent
3549623a40
commit
ae9feb72e9
|
@ -267,6 +267,8 @@ static void hfp_current_operator(struct ofono_netreg *netreg,
|
||||||
if (ok)
|
if (ok)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
g_free(cbd);
|
||||||
|
|
||||||
CALLBACK_WITH_FAILURE(cb, NULL, data);
|
CALLBACK_WITH_FAILURE(cb, NULL, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue