diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2012-03-19 13:50:41 +0100 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-03-20 12:03:48 +0200 |
commit | eb4a4ea46c7707f061d734b5f0ceb4ca7465fa47 (patch) | |
tree | 68727502cb30b84d30c51dbb985722568f4f80cf /test | |
parent | 4ce90440a70abce7de5377776e942ff14e7152f9 (diff) | |
download | connman-eb4a4ea46c7707f061d734b5f0ceb4ca7465fa47.tar.gz |
service: Fix refcount leak on ipconfigs
In __connman_service_connect() we call __connman_ipconfig_enable()
which takes a ref on the ipconfig object. Later when the service
state machine is updated service takes another ref.
When the device disapears during operation (the user didn't call
Service.Disconnect()), we do not call __connman_ipconfig_disable()
anymore which would drop one ref.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions