diff keyimport.c @ 1006:0aa1feb8adda coverity

merge
author Matt Johnston <matt@ucc.asn.au>
date Wed, 28 Jan 2015 22:49:55 +0800
parents 97d1e54941fd
children d3925ed45a85
line wrap: on
line diff
--- a/keyimport.c	Wed Jan 28 21:40:34 2015 +0800
+++ b/keyimport.c	Wed Jan 28 22:49:55 2015 +0800
@@ -810,7 +810,7 @@
 	}
 	m_burn(key->keyblob, key->keyblob_size);
 	m_free(key->keyblob);
-	m_burn(key, sizeof(key));
+	m_burn(key, sizeof(*key));
 	m_free(key);
 	if (errmsg) {
 		fprintf(stderr, "Error: %s\n", errmsg);