From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23441 invoked by alias); 28 Jul 2018 16:57:05 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 23407 invoked by uid 89); 28 Jul 2018 16:57:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=one, Hx-spam-relays-external:sk:mailhos, H*RU:sk:mailhos, one! X-HELO: nef2.ens.fr Received: from nef2.ens.fr (HELO nef2.ens.fr) (129.199.96.40) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 28 Jul 2018 16:57:02 +0000 X-ENS-nef-client: 129.199.120.1 Received: from mailhost.lps.ens.fr (tournesol.lps.ens.fr [129.199.120.1]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id w6SGuwHj006063 ; Sat, 28 Jul 2018 18:56:59 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailhost.lps.ens.fr (Postfix) with ESMTP id DCCF0147; Sat, 28 Jul 2018 18:56:58 +0200 (CEST) Received: from mailhost.lps.ens.fr ([127.0.0.1]) by localhost (tournesol.lps.ens.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6Q0QVsEEgt_n; Sat, 28 Jul 2018 18:56:58 +0200 (CEST) Received: from [192.168.1.11] (log78-1-82-242-47-10.fbx.proxad.net [82.242.47.10]) by mailhost.lps.ens.fr (Postfix) with ESMTPSA id A17B0146; Sat, 28 Jul 2018 18:56:58 +0200 (CEST) From: =?utf-8?Q?Dominique_d=27Humi=C3=A8res?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: [Patch, fortran] PR80477 - [OOP] Polymorphic function result generates memory leak Message-Id: <674CFC8A-6721-40DB-9191-D6772451CE48@lps.ens.fr> Date: Sat, 28 Jul 2018 16:57:00 -0000 Cc: Janus Weil , gfortran , gcc-patches To: Paul Richard Thomas X-SW-Source: 2018-07/txt/msg01793.txt.bz2 Hi! > great that you managed to solve this one! The patch looks very good to > me, but I'm afraid two details may be missing: > > 1) If the type has allocatable components, those need to be freed first. > =E2=80=A6 PR86481? Cheers Dominique