aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/crypt_burn.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-03-25 18:04:38 +0100
committerTobias Brunner <tobias@strongswan.org>2013-03-25 18:40:32 +0100
commit51caeeb161b671f32654e37d8379a3a527bfad92 (patch)
tree8ced48eed931981f148229f6e8a55fc941caa64d /scripts/crypt_burn.c
parentd4f2f3dd7fbef82e88d05cbb8ecddce8113c586e (diff)
downloadstrongswan-51caeeb161b671f32654e37d8379a3a527bfad92.tar.bz2
strongswan-51caeeb161b671f32654e37d8379a3a527bfad92.tar.xz
crypt_burn: Proper cleanup
Diffstat (limited to 'scripts/crypt_burn.c')
-rw-r--r--scripts/crypt_burn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/crypt_burn.c b/scripts/crypt_burn.c
index d26a3d0fa..9633568cd 100644
--- a/scripts/crypt_burn.c
+++ b/scripts/crypt_burn.c
@@ -89,6 +89,7 @@ int main(int argc, char *argv[])
break;
}
}
+ aead->destroy(aead);
}
else
{
@@ -120,6 +121,7 @@ int main(int argc, char *argv[])
break;
}
}
+ crypter->destroy(crypter);
}
return 0;
}