mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-28 17:19:17 +01:00
[util] Fix leaks
This commit is contained in:
1 parent
338e61ad1b
commit
a88e2a73f3
1 file changed
+2
@@ -384,6 +384,8 @@ struct shape_options_t : option_group_t
|
||||
{
|
||||
if (error)
|
||||
*error = "all shapers failed while shaping fragment.";
|
||||
hb_buffer_destroy (reconstruction);
|
||||
hb_buffer_destroy (fragment);
|
||||
return false;
|
||||
}
|
||||
hb_buffer_append (reconstruction, fragment, 0, -1);
|
||||
|
||||
Reference in new issue
Block a user