lib/asn1: generate_type_free heim_release not heim_retain
commita835b9053d5f826fcbcdd0e69bc85591e4185abe
authorNicolas Williams <nico@twosigma.com>
Fri, 28 Jan 2022 17:15:28 +0000 (28 12:15 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 28 Jan 2022 18:54:16 +0000 (28 13:54 -0500)
tree7af3eac29d4d98d1a7a350b22c1b3627a18cc2fe
parent4185e87a6cb56341d68b333ea608fb14a34b907b
lib/asn1: generate_type_free heim_release not heim_retain

Do not leak the object when the intent is to free it.

Introduced by 40d127109408ebef1dccbcd41c1c4b38efe83213
("asn1: Expand decoration w/ C types")

Change-Id: If8cd502f61d6f9b72118630839525933911c6697
lib/asn1/gen_free.c