device: Fix an inbalance ref/unref of network objects
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Tue, 21 Jun 2011 14:45:50 +0000 (16:45 +0200)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Tue, 21 Jun 2011 14:45:50 +0000 (16:45 +0200)
commitcfa7dab5286a38fdc474165d1a39abb8eb4e1cf4
tree67fd0a8c7fbd1ffab36c6ab77b5f094a097ed3c5
parentc6d1e0dfbdd915c46e9200a6d86ee297d061da49
device: Fix an inbalance ref/unref of network objects

The destroy callback of the hash table (device->networks)
will unref and unregister the network object.
src/device.c