fixed two memory leaks
[strongswan.git] / src / libpts / pts / components / pts_comp_evidence.c
index f6f40da..a1e5902 100644 (file)
@@ -208,7 +208,7 @@ pts_comp_evidence_t *pts_comp_evidence_create(pts_comp_func_name_t *name,
                        .set_validation = _set_validation,
                        .destroy = _destroy,
                },
-               .name = name->clone(name),
+               .name = name,
                .depth = depth,
                .extended_pcr = extended_pcr,
                .hash_algorithm = algo,