Skip to content

Commit 468b680

Browse files
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 21ef796 commit 468b680

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/jsc/JavaScriptUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ rtError rtJSRuntimeDownloadMetrics(int numArgs, const rtValue* args, rtValue* re
740740
NetworkMetrics* metrics = (NetworkMetrics*)storedValue.toVoidPtr();
741741
if (!metrics) {
742742
rtLogError("Failed to cast stored value to NetworkMetrics structure for url: %s.", key.cString());
743-
delete netMetricsArray; //newly added
743+
delete netMetricsArray;
744744
return RT_FAIL;
745745
}
746746
rtMapObject* metricsMap = new rtMapObject();

0 commit comments

Comments
 (0)