Avoid stomping on NULL.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21153 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-06-18 21:55:46 +00:00
parent b243898000
commit df3a19d174

View File

@@ -1077,6 +1077,7 @@ hx509_crl_alloc(hx509_context context, hx509_crl *crl)
if (ret) {
free(*crl);
*crl = NULL;
return ret;
}
(*crl)->expire = 0;
return ret;