mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-28 17:19:17 +01:00
[subset] Check error after calling serializer end
This commit is contained in:
1 parent
750b65e9a9
commit
2b051e7aa1
1 file changed
+4
-5
+4
-5
@@ -99,12 +99,11 @@ _subset2 (hb_subset_plan_t *plan)
|
||||
}
|
||||
goto retry;
|
||||
}
|
||||
if (serializer.in_error ())
|
||||
{
|
||||
abort ();
|
||||
}
|
||||
|
||||
serializer.end_serialize ();
|
||||
|
||||
if (serializer.in_error ())
|
||||
abort ();
|
||||
|
||||
if (result)
|
||||
{
|
||||
hb_blob_t *dest_blob = serializer.copy_blob ();
|
||||
|
||||
Reference in new issue
Block a user