summaryrefslogtreecommitdiff
path: root/Userland/chgrp.cpp
diff options
context:
space:
mode:
authorFlorian Stellbrink <flo@stellbr.ink>2020-03-12 02:03:48 +0100
committerAndreas Kling <kling@serenityos.org>2020-03-12 07:50:49 +0100
commit17705d23fbe700d03bcf32a79bb63a2b074e44b9 (patch)
treefdc20b47fa8d9473e842cc22bd46718a9840ac44 /Userland/chgrp.cpp
parent8cf962a102255e28bc4d83822e4df06ee5c2c526 (diff)
downloadserenity-17705d23fbe700d03bcf32a79bb63a2b074e44b9.zip
LibJS: Fix string roots not being collected
Previously objects were the only heap allocated value. Now there are also strings. This replaces a usage of is_object with is_cell. Without this change strings could be garbage collected while still being used in an active scope.
Diffstat (limited to 'Userland/chgrp.cpp')
0 files changed, 0 insertions, 0 deletions