Don't expose freed pointer.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21136 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-06-18 21:13:27 +00:00
parent c614532c87
commit e051a8a3c4

View File

@@ -229,6 +229,7 @@ hx509_cert_init(hx509_context context, const Certificate *c, hx509_cert *cert)
if (ret) {
free((*cert)->data);
free(*cert);
*cert = NULL;
}
return ret;
}