public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] typecheck: Fix overzealous `delete` call
@ 2022-11-16 11:49 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-11-16 11:49 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:28ae1589e13a5917db55eff8de7355a6f54641f8
commit 28ae1589e13a5917db55eff8de7355a6f54641f8
Author: Arthur Cohen <arthur.cohen@embecosm.com>
Date: Wed Nov 2 09:52:01 2022 +0100
typecheck: Fix overzealous `delete` call
Diff:
---
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 18a34be09bf..6334b69c87d 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++;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-16 11:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-16 11:49 [gcc/devel/rust/master] typecheck: Fix overzealous `delete` call Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).