projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
750b65e
)
[subset] Check error after calling serializer end
author
Behdad Esfahbod
<behdad@behdad.org>
Sat, 27 Apr 2019 17:01:11 +0000
(10:01 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Sat, 27 Apr 2019 17:01:11 +0000
(10:01 -0700)
src/hb-subset.cc
patch
|
blob
|
history
diff --git
a/src/hb-subset.cc
b/src/hb-subset.cc
index
2165b8a
..
b40eba3
100644
(file)
--- a/
src/hb-subset.cc
+++ b/
src/hb-subset.cc
@@
-99,12
+99,11
@@
_subset2 (hb_subset_plan_t *plan)
}
goto retry;
}
+ serializer.end_serialize ();
+
if (serializer.in_error ())
- {
abort ();
- }
- serializer.end_serialize ();
if (result)
{
hb_blob_t *dest_blob = serializer.copy_blob ();