vpn: Unref provider properly
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Tue, 20 Mar 2012 10:37:57 +0000 (12:37 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 27 Mar 2012 09:54:35 +0000 (12:54 +0300)
commit18fdec1d5e9419620d51619fc5614f0c90bfecd7
tree7849244b78dece221cce01f6ab405efb6b0efccb
parent791e46222bd1d67bc21182a930a119a910a86c6f
vpn: Unref provider properly

The provider can be unreffed in vpn_died() or in vpn_disconnect().
We must do the unref only once.
plugins/vpn.c