aboutsummaryrefslogtreecommitdiff
path: root/src/mm-log-object.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2022-05-09 22:44:56 +0200
committerAleksander Morgado <aleksander@aleksander.es>2022-05-11 12:13:34 +0000
commite163ab504a32fc68ed95b9b818ce648e1b3b50ab (patch)
treed722d5950585ac1078e0e12d37f7dec1cf4cbfff /src/mm-log-object.c
parentacd5f466d7f3a8749405cd767ed16fae3e7a1638 (diff)
broadband-modem-mbim: fix task completion when peeking device fails
We cannot call peek_device() when we have already created a GTask for the async operation, because if the operation failed we would be completing the async operation with a totally different GTask than the one we had created ourselves, triggering memory leaks and leaving modem references around that should not exist (as the GTask we create holds a modem reference). Issue found in the context of debugging this, may actually be fully related: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/550
Diffstat (limited to 'src/mm-log-object.c')
0 files changed, 0 insertions, 0 deletions