diff gensignkey.c @ 1912:8b4274d34fe8

Use buf_burn_free() instead of two calls
author Matt Johnston <matt@ucc.asn.au>
date Tue, 29 Mar 2022 23:47:30 +0800
parents c795520269f9
children
line wrap: on
line diff
--- a/gensignkey.c	Tue Mar 29 23:27:55 2022 +0800
+++ b/gensignkey.c	Tue Mar 29 23:47:30 2022 +0800
@@ -181,8 +181,7 @@
 
 out:
 	if (buf) {
-		buf_burn(buf);
-		buf_free(buf);
+		buf_burn_free(buf);
 	}
 	
 	if (fn_temp) {