--- /home/beldmit/openssl-shell/openssl/apps/dhparam.c	2012-10-05 16:11:07.000000000 +0400
+++ /home/beldmit/tmp/dhparam.c.new	2012-11-05 18:21:16.000000000 +0400
@@ -332,7 +332,6 @@
 			BIO_printf(bio_err,"This is going to take a long time\n");
 			if(!dh || !DH_generate_parameters_ex(dh, num, g, &cb))
 				{
-				if(dh) DH_free(dh);
 				ERR_print_errors(bio_err);
 				goto end;
 				}
