Fix provider refcounting
authorSamuel Ortiz <sameo@linux.intel.com>
Mon, 9 Aug 2010 14:32:45 +0000 (16:32 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 9 Aug 2010 14:35:50 +0000 (16:35 +0200)
commit10849f787cd0d1a64a2c0b16663ae3b8743bb5c2
tree8047c589655e5b9a63c358ee8ac7d0b57d659ba6
parent43e7b0260857b48f19aa4165699453dd6608bb3b
Fix provider refcounting

The VPN service refcount is bumped at creation time and decreased at
destruction time.
The openconnect provider bumps the provider refcount at task creation
time and decreases it at task destruction time.
The service code bumps the provider refcount at service creation time and
decreases it at service releasing time.
plugins/openconnect.c
src/provider.c
src/service.c