mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-06 12:46:35 +02:00
Prevent null ref
This commit is contained in:
parent
8b88b8d36d
commit
7a7419a3f4
1 changed files with 1 additions and 1 deletions
|
@ -1043,7 +1043,7 @@ typedef union {
|
|||
#define return_copy(ptr, obj) \
|
||||
{ \
|
||||
tag_type t; \
|
||||
if (is_value_type(obj)) \
|
||||
if (!is_object_type(obj)) \
|
||||
return obj; \
|
||||
t = type_of(obj); \
|
||||
if (t == boolean_tag || /* Pre-allocated */ \
|
||||
|
|
Loading…
Add table
Reference in a new issue