NetBSD Problem Report #50897
From www@NetBSD.org Sun Mar 6 15:31:13 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id B86B07A13F
for <gnats-bugs@gnats.NetBSD.org>; Sun, 6 Mar 2016 15:31:13 +0000 (UTC)
Message-Id: <20160306153111.EABC77ACC5@mollari.NetBSD.org>
Date: Sun, 6 Mar 2016 15:31:11 +0000 (UTC)
From: dcb314@hotmail.com
Reply-To: dcb314@hotmail.com
To: gnats-bugs@NetBSD.org
Subject: src/usr.bin/elf2aout/elf2aout.c:481]: (error) Memory leak: oldstrings
X-Send-Pr-Version: www-1.0
>Number: 50897
>Category: bin
>Synopsis: src/usr.bin/elf2aout/elf2aout.c:481]: (error) Memory leak: oldstrings
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 06 15:35:00 +0000 2016
>Closed-Date: Sun Mar 06 15:44:54 +0000 2016
>Last-Modified: Sun Mar 06 16:15:00 +0000 2016
>Originator: David Binderman
>Release: cvs dated 20160305
>Organization:
>Environment:
>Description:
It seems that function saveRead returns a pointer which
doesn't doesn't seem to be freed anywhere.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Sun, 06 Mar 2016 15:44:54 +0000
State-Changed-Why:
Fixed, thanks!
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/50897 CVS commit: src/usr.bin/elf2aout
Date: Sun, 6 Mar 2016 15:44:06 +0000
Module Name: src
Committed By: martin
Date: Sun Mar 6 15:44:06 UTC 2016
Modified Files:
src/usr.bin/elf2aout: elf2aout.c
Log Message:
David Binderman in PR bin/50897: fix memory leak.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/elf2aout/elf2aout.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/50897 CVS commit: src/usr.bin/elf2aout
Date: Sun, 6 Mar 2016 11:13:22 -0500
Module Name: src
Committed By: christos
Date: Sun Mar 6 16:13:22 UTC 2016
Modified Files:
src/usr.bin/elf2aout: Makefile elf2aout.c
Log Message:
PR/50897: David Binderman: fix memory leaks. While here, modernize error
handling, and types.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/elf2aout/Makefile
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/elf2aout/elf2aout.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.