check for null before freeing, cid#34

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24147 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-12-11 05:07:46 +00:00
parent 12edcfbf3b
commit e015c36060

View File

@@ -748,6 +748,7 @@ heim_ntlm_decode_type3(const struct ntlm_buf *buf,
CHECK(ret_buf(in, &sessionkey, &type3->sessionkey), 0);
out:
if (in)
krb5_storage_free(in);
if (ret)
heim_ntlm_free_type3(type3);