diff options
author | Pekka Pessi <Pekka.Pessi@nokia.com> | 2010-08-26 17:26:35 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-08-28 08:47:14 +0200 |
commit | a749eaa58be81bdd9a508edfc290d83c812307ae (patch) | |
tree | e34e134c9cf2c2f4be4732442be524bc16bfd6d5 | |
parent | 5baee513c9f4f390ee86be2f150bbaaa7ed2acf2 (diff) | |
download | connman-a749eaa58be81bdd9a508edfc290d83c812307ae.tar.gz connman-a749eaa58be81bdd9a508edfc290d83c812307ae.tar.bz2 connman-a749eaa58be81bdd9a508edfc290d83c812307ae.zip |
device: remove stale pointer from network
-rw-r--r-- | src/device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c index 7bd9e47a..db24f954 100644 --- 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); } |