summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/openssh/pam_ssh/pam_ssh.c1
-rw-r--r--lib/libpam/modules/pam_ssh/pam_ssh.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/crypto/openssh/pam_ssh/pam_ssh.c b/crypto/openssh/pam_ssh/pam_ssh.c
index 424496d..237d6e2 100644
--- a/crypto/openssh/pam_ssh/pam_ssh.c
+++ b/crypto/openssh/pam_ssh/pam_ssh.c
@@ -178,7 +178,6 @@ env_destroy(ENV *self)
if (self->e_committed)
env_swap(self, 0);
- env_swap(self, 0);
SLIST_FOREACH(p, &self->e_head, ee_entries) {
free(p->ee_env);
free(p);
diff --git a/lib/libpam/modules/pam_ssh/pam_ssh.c b/lib/libpam/modules/pam_ssh/pam_ssh.c
index 424496d..237d6e2 100644
--- a/lib/libpam/modules/pam_ssh/pam_ssh.c
+++ b/lib/libpam/modules/pam_ssh/pam_ssh.c
@@ -178,7 +178,6 @@ env_destroy(ENV *self)
if (self->e_committed)
env_swap(self, 0);
- env_swap(self, 0);
SLIST_FOREACH(p, &self->e_head, ee_entries) {
free(p->ee_env);
free(p);
OpenPOWER on IntegriCloud