(file_init): reset length when done with a part

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17146 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-04-21 21:13:49 +00:00
parent 60581c73b0
commit 67e0d93a8a

View File

@@ -349,6 +349,7 @@ parse_pem_file(hx509_context context,
}
free(data);
data = NULL;
len = 0;
free(type);
type = NULL;
where = BEFORE;