avoid writing to null pointer
This commit is contained in:
Qunxin Liu authored and Garret Rieger committed 2021-04-08 09:54:48 -06:00
1 parent 4af5dacedc
commit 553ffaf682
1 file changed
+1
+1
View File
@@ -347,6 +347,7 @@ struct AnchorFormat1
{
TRACE_SERIALIZE (this);
AnchorFormat1* out = c->embed<AnchorFormat1> (this);
if (!out) return_trace (out);
out->format = 1;
return_trace (out);
}