[subset] Check error after calling serializer end
This commit is contained in:
parent
750b65e9a9
commit
2b051e7aa1
|
@ -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 ();
|
||||
|
|
Loading…
Reference in New Issue