From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86168 invoked by alias); 13 Feb 2019 13:45:24 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 85948 invoked by uid 89); 13 Feb 2019 13:45:14 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HContent-Transfer-Encoding:8bit X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 13 Feb 2019 13:45:13 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 065FC5607C for ; Wed, 13 Feb 2019 08:45:11 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id aFFHVi2xzM8o for ; Wed, 13 Feb 2019 08:45:10 -0500 (EST) Received: from murgatroyd.Home (75-166-72-210.hlrn.qwest.net [75.166.72.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPSA id AF4355607B for ; Wed, 13 Feb 2019 08:45:10 -0500 (EST) From: Tom Tromey To: gdb-patches@sourceware.org Subject: [PATCH 0/2] Fix memory leaks in create_ada_exception_catchpoint Date: Wed, 13 Feb 2019 13:45:00 -0000 Message-Id: <20190213134505.20005-1-tromey@adacore.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SW-Source: 2019-02/txt/msg00177.txt.bz2 These patches fix a couple of memory leaks in create_ada_exception_catchpoint. This is based on Philippe's patch and analysis. Tested on x86-64 Fedora 29. I also tried "catch exception" under valgrind to verify the fix. Tom