changeset 21865:c30cfcc6a195

var-expand-crypt: Do not free dcrypt context twice Found by coverity
author Aki Tuomi <aki.tuomi@dovecot.fi>
date Mon, 27 Mar 2017 09:34:50 +0300
parents 69257c124bd3
children f23b6f713a50
files src/plugins/var-expand-crypt/var-expand-crypt-plugin.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/var-expand-crypt/var-expand-crypt-plugin.c	Fri Mar 31 15:30:58 2017 +0300
+++ b/src/plugins/var-expand-crypt/var-expand-crypt-plugin.c	Mon Mar 27 09:34:50 2017 +0300
@@ -217,8 +217,6 @@
 		ret = 1;
 	}
 
-	dcrypt_ctx_sym_destroy(&dctx);
-
 	return ret;
 }