(hx509_crypto_destroy): free oid.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18785 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1484,6 +1484,7 @@ hx509_crypto_destroy(hx509_crypto crypto)
|
||||
free(crypto->name);
|
||||
if (crypto->key.data)
|
||||
free(crypto->key.data);
|
||||
der_free_oid(&crypto->oid);
|
||||
memset(crypto, 0, sizeof(*crypto));
|
||||
free(crypto);
|
||||
}
|
||||
|
Reference in New Issue
Block a user