lib/asn1: _asn1_print_open_type free 'indents'
'indents' was leaked on one code path. Change-Id: Ib4a7a8dcf7aae05a79ac6738da3a87a61e85c48e
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user