projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5baee51
)
device: remove stale pointer from network
author
Pekka Pessi
<Pekka.Pessi@nokia.com>
Thu, 26 Aug 2010 14:26:35 +0000
(17:26 +0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sat, 28 Aug 2010 06:47:14 +0000
(08:47 +0200)
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
7bd9e47
..
db24f95
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-696,6
+696,8
@@
static void unregister_network(gpointer data)
connman_element_unregister((struct connman_element *) network);
+ __connman_network_set_device(network, NULL);
+
connman_network_unref(network);
}