fixed copy/paste error
authorMartin Willi <martin@strongswan.org>
Fri, 7 Nov 2008 14:48:54 +0000 (14:48 -0000)
committerMartin Willi <martin@strongswan.org>
Fri, 7 Nov 2008 14:48:54 +0000 (14:48 -0000)
src/charon/plugins/nm/nm_creds.c

index f87928e..e7cd640 100644 (file)
@@ -203,7 +203,6 @@ static bool shared_enumerate(shared_enumerator_t *this, shared_key_t **key,
 static void shared_destroy(shared_enumerator_t *this)
 {
        this->key->destroy(this->key);
-       this->lock->destroy(this->lock);
        this->this->lock->unlock(this->this->lock);
        free(this);
 }