Fixing an issue introduced in commit 4b3385fb920a60c9d7db66f9798355430ca4036a (restoring a check for NULL pointer).

This commit is contained in:
Ruben Ayrapetyan
2014-11-13 20:57:11 +03:00
parent 477a694622
commit 2e94dc1341
+1 -1
View File
@@ -323,7 +323,7 @@ ecma_gc_mark (ecma_object_t *object_p, /**< start object */
property_p != NULL;
property_p = next_property_p)
{
next_property_p = ECMA_GET_NON_NULL_POINTER(property_p->next_property_p);
next_property_p = ECMA_GET_POINTER(property_p->next_property_p);
switch ((ecma_property_type_t) property_p->type)
{