summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/NumberObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/NumberObject.cpp')
-rw-r--r--Userland/Libraries/LibJS/Runtime/NumberObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/NumberObject.cpp b/Userland/Libraries/LibJS/Runtime/NumberObject.cpp
index 72cfc01548..9a17e3c386 100644
--- a/Userland/Libraries/LibJS/Runtime/NumberObject.cpp
+++ b/Userland/Libraries/LibJS/Runtime/NumberObject.cpp
@@ -11,7 +11,7 @@ namespace JS {
NonnullGCPtr<NumberObject> NumberObject::create(Realm& realm, double value)
{
- return realm.heap().allocate<NumberObject>(realm, value, *realm.intrinsics().number_prototype());
+ return realm.heap().allocate<NumberObject>(realm, value, *realm.intrinsics().number_prototype()).release_allocated_value_but_fixme_should_propagate_errors();
}
NumberObject::NumberObject(double value, Object& prototype)