diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-20 12:26:28 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-06 20:07:26 +0200 |
commit | 40730b115e3aa7f744f6e0c72772c8a4f1872695 (patch) | |
tree | 2667a347e872ca251f7a5cb4d53cc43ed767accb /docs/reference | |
parent | 63a45f808260f3138b595bf9b250d2a212cb83d4 (diff) |
hso: avoid highly unlikely use of already unref-ed bearer
In the connection sequence, we make sure that the Bearer object is valid by
keeping a reference in the Dial3gppContext (actually, another one kept by the
GSimpleAsyncResult as well). But we are considering here the case where the
connection context is completed and freed by an unsolicited message handler
before we get the reply to the AT command, so to properly ensure that the bearer
object is still valid when we try to check if the context is in the priv struct,
we need to keep an extra ref around.
Diffstat (limited to 'docs/reference')
0 files changed, 0 insertions, 0 deletions