From df3a19d174a2c1a03c28e648260007f18955b471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 18 Jun 2007 21:55:46 +0000 Subject: [PATCH] Avoid stomping on NULL. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21153 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/revoke.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/hx509/revoke.c b/lib/hx509/revoke.c index 5d4042c7e..0f0018d77 100644 --- a/lib/hx509/revoke.c +++ b/lib/hx509/revoke.c @@ -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;