lib/asn1: _asn1_print_open_type free 'indents'

'indents' was leaked on one code path.

Change-Id: Ib4a7a8dcf7aae05a79ac6738da3a87a61e85c48e
This commit is contained in:
Jeffrey Altman
2022-01-16 22:22:48 -05:00
parent 73e2f335c2
commit 424aa1cb78

View File

@@ -2451,9 +2451,9 @@ _asn1_print_open_type(const struct asn1_template *t, /* object set template */
if (s)
r = rk_strpoolprintf(r, ",%s\"_%s\":%s",
indents ? indents : "", opentype_name, s);
free(indents);
free(s);
}
free(indents);
return r;
}