comparison 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
comparison
equal deleted inserted replaced
997:e75316906852 1006:0aa1feb8adda
808 buf_burn(blobbuf); 808 buf_burn(blobbuf);
809 buf_free(blobbuf); 809 buf_free(blobbuf);
810 } 810 }
811 m_burn(key->keyblob, key->keyblob_size); 811 m_burn(key->keyblob, key->keyblob_size);
812 m_free(key->keyblob); 812 m_free(key->keyblob);
813 m_burn(key, sizeof(key)); 813 m_burn(key, sizeof(*key));
814 m_free(key); 814 m_free(key);
815 if (errmsg) { 815 if (errmsg) {
816 fprintf(stderr, "Error: %s\n", errmsg); 816 fprintf(stderr, "Error: %s\n", errmsg);
817 } 817 }
818 return retval; 818 return retval;