From 85f69a9b6abd398f6344135d8094cf8256c6279c Mon Sep 17 00:00:00 2001 From: Arthur Cohen Date: Wed, 2 Nov 2022 09:52:01 +0100 Subject: gccrs: typecheck: Fix overzealous `delete` call gcc/rust/ChangeLog: * typecheck/rust-tyty-call.cc (TypeCheckCallExpr::visit): Fix extra call to `delete`. --- gcc/rust/typecheck/rust-tyty-call.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/gcc/rust/typecheck/rust-tyty-call.cc b/gcc/rust/typecheck/rust-tyty-call.cc index 0c9e9f4..d520b59 100644 --- a/gcc/rust/typecheck/rust-tyty-call.cc +++ b/gcc/rust/typecheck/rust-tyty-call.cc @@ -68,7 +68,6 @@ TypeCheckCallExpr::visit (ADTType &type) return; } - delete res; i++; } -- cgit v1.1