From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17254 invoked by alias); 7 Feb 2006 01:53:03 -0000 Received: (qmail 17223 invoked by uid 48); 7 Feb 2006 01:53:00 -0000 Date: Tue, 07 Feb 2006 01:53:00 -0000 Subject: [Bug tree-optimization/26147] New: another memory leak X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "uttamp at us dot ibm dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg00600.txt.bz2 List-Id: After running coverity tool I discovered following memory leaks. 1) in gcc/opts.c: memory never freed allocated by 'new_option' pointer. 2) in gcc/df-core.c: Memory never freed allocated by 'postorder' pointer. 3) in tree-data-ref.c: memory never freed allocated by dist_v and init_v pointers. I'll submit the patches to fix these leaks. -- Summary: another memory leak Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: uttamp at us dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26147