###### JerryScript revision
#d00f4810b0e8eaa6a6755e2d0ecbd1713ecfca49

###### Test case
**Error Code**
```c
//periodically calling the following code every 1 second will causing JERRY_FATAL_REF_COUNT_LIMIT randomly
jerry_value_t jerry_arguments[2];
jerry_arguments[0] = jerry_number(0);
jerry_arguments[1] = jerry_array(1);
jerry_value_t element_0 = jerry_number(0);
jerry_value_free(jerry_object_set_index(jerry_arguments[1], 0,
    element_0
));
//jerry_value_free(element_0); //Also tried with this line un-commended, but having the same result
jerry_call(jerry_function, jerry_undefined(), jerry_arguments, 2);
jerry_value_free(jerry_arguments[0]);
jerry_value_free(jerry_arguments[1]);
```

**Good Code**
```c
//periodically calling the following code every 1 second will NOT causing JERRY_FATAL_REF_COUNT_LIMIT
jerry_value_t jerry_arguments[2];
jerry_arguments[0] = jerry_number(0);
jerry_arguments[1] = jerry_number(1);
jerry_call(jerry_function, jerry_undefined(), jerry_arguments, 2);
jerry_value_free(jerry_arguments[0]);
jerry_value_free(jerry_arguments[1]);
```
###### Execution steps
Call the above code in the Error Section every 1 second, it will randomly causing JERRY_FATAL_REF_COUNT_LIMIT within an hour.
jerry_call with Jerry_Array argument will causing JERRY_FATAL_REF_COUNT_LIMIT randomly
This is a GitHub Issue
repo:jerryscript
owner:jerryscript-project
Title : jerry_call with Jerry_Array argument will causing JERRY_FATAL_REF_COUNT_LIMIT randomly
Issue date:

--- start body ---
###### JerryScript revision
#d00f4810b0e8eaa6a6755e2d0ecbd1713ecfca49

###### Test case
**Error Code**
```c
//periodically calling the following code every 1 second will causing JERRY_FATAL_REF_COUNT_LIMIT randomly
jerry_value_t jerry_arguments[2];
jerry_arguments[0] = jerry_number(0);
jerry_arguments[1] = jerry_array(1);
jerry_value_t element_0 = jerry_number(0);
jerry_value_free(jerry_object_set_index(jerry_arguments[1], 0,
    element_0
));
//jerry_value_free(element_0); //Also tried with this line un-commended, but having the same result
jerry_call(jerry_function, jerry_undefined(), jerry_arguments, 2);
jerry_value_free(jerry_arguments[0]);
jerry_value_free(jerry_arguments[1]);
```

**Good Code**
```c
//periodically calling the following code every 1 second will NOT causing JERRY_FATAL_REF_COUNT_LIMIT
jerry_value_t jerry_arguments[2];
jerry_arguments[0] = jerry_number(0);
jerry_arguments[1] = jerry_number(1);
jerry_call(jerry_function, jerry_undefined(), jerry_arguments, 2);
jerry_value_free(jerry_arguments[0]);
jerry_value_free(jerry_arguments[1]);
```
###### Execution steps
Call the above code in the Error Section every 1 second, it will randomly causing JERRY_FATAL_REF_COUNT_LIMIT within an hour.
--- end body ---
