Merge pull request #2529 from smcv/static-delta-error-unwind

libotutil: Avoid infinite recursion during error unwinding
This commit is contained in:
Colin Walters 2022-01-28 09:22:27 -05:00 committed by GitHub
commit 2903ffac60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -830,7 +830,7 @@ static void
ot_variant_builder_info_free (OtVariantBuilderInfo *info) ot_variant_builder_info_free (OtVariantBuilderInfo *info)
{ {
if (info->parent) if (info->parent)
ot_variant_builder_info_free (info); ot_variant_builder_info_free (info->parent);
g_variant_type_free (info->type); g_variant_type_free (info->type);
g_array_unref (info->child_ends); g_array_unref (info->child_ends);