projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39d4a4e
)
Check data->network reference at MBM network cleanup
author
Martin Xu
<martin.xu@intel.com>
Wed, 14 Oct 2009 07:39:05 +0000
(15:39 +0800)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 20 Oct 2009 20:03:14 +0000
(22:03 +0200)
plugins/mbm.c
patch
|
blob
|
history
diff --git
a/plugins/mbm.c
b/plugins/mbm.c
index
e7b5e17
..
9805df7
100644
(file)
--- a/
plugins/mbm.c
+++ b/
plugins/mbm.c
@@
-293,6
+293,9
@@
static void cleanup_network(struct connman_device *device)
DBG("");
+ if (data->network == NULL)
+ return;
+
connman_network_set_connected(data->network, FALSE);
identifier = connman_network_get_identifier(data->network);