Added missing object deref in ecma_promise_reject_or_resolve (#4144)

fixes #4131

JerryScript-DCO-1.0-Signed-off-by: bence gabor kis [email protected]
This commit is contained in:
kisbg authored and GitHub committed 2020-08-17 11:06:44 +02:00
1 parent 9d586fea76
commit 086d1cc127
2 files changed
+50

No files matched your search

@@ -806,6 +806,7 @@ ecma_promise_reject_or_resolve (ecma_value_t this_arg, /**< "this" argument */
if (ECMA_IS_VALUE_ERROR (call_ret))
{
ecma_deref_object (capability_obj_p);
return call_ret;
}