diff options
author | Thomas Haller <thaller@redhat.com> | 2016-05-10 17:52:13 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-05-10 19:04:57 +0200 |
commit | 37827fcafa7ccf2da3756ddc57298db92990c2ba (patch) | |
tree | cf2dbdf0b32cdc14400bc5515bd92356c5463b47 /po | |
parent | 0b66eb298e1d6ac1ef516635e7055a6c819b4e09 (diff) | |
download | NetworkManager-37827fcafa7ccf2da3756ddc57298db92990c2ba.tar.gz |
wwan: return from send_pin_ready() when operation cancelled and fix leak
We call the asynchrnous function mm_sim_send_pin() without taking a
reference on @self. During send_pin_ready() we must first check whether
the request was cancelled because self might be a dangling pointer at
this point.
Also, avoid leaking @error if the ctx is no longer valid.
Fixes: aa0b379699fe8cb4ec9ef28fc493c0e499c892d8
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions