(test_heim_oid_format_same): avoid leaking memory in the non failure case too

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20418 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-04-19 07:06:55 +00:00
parent b8f9314dc2
commit 393f0ed433

View File

@@ -730,6 +730,7 @@ test_heim_oid_format_same(const char *str, const heim_oid *oid)
free(p);
return ret;
}
free(p);
ret = der_heim_oid_cmp(&o2, oid);
der_free_oid(&o2);