diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2010-04-09 00:19:07 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-04-09 00:24:07 +0200 |
commit | 1163049a2c9d1306a470294245fce20d06965761 (patch) | |
tree | 96268d28ee2a7a872e77ed9ce069aebe910d7c18 /plugins/bluetooth.c | |
parent | 3291e6583f5bdb4fc6037cd33a357890127c3a1d (diff) | |
download | connman-1163049a2c9d1306a470294245fce20d06965761.tar.gz connman-1163049a2c9d1306a470294245fce20d06965761.tar.bz2 connman-1163049a2c9d1306a470294245fce20d06965761.zip |
Reset connman_network device pointer when it is no longer referenced
When removing all networks from a device, network->device pointers are
set to NULL even though the network is still referenced. This can lead
to segmentation faults when for example a service has several networks
and is being disconnected.
Diffstat (limited to 'plugins/bluetooth.c')
0 files changed, 0 insertions, 0 deletions