public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jonathan Larmour <jifl@eCosCentric.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Termios memory leak?
Date: Tue, 26 Jul 2005 17:25:00 -0000	[thread overview]
Message-ID: <42E671F1.4030801@eCosCentric.com> (raw)
In-Reply-To: <20050721180158.GK29741@lunn.ch>

Andrew Lunn wrote:
> On Mon, Jul 18, 2005 at 09:29:25AM -0700, Jay Foster wrote:
> 
>>I ran into the same problem some time ago, and made the following change to
>>correct it.  The bug would leak 8KB of memory each time cyg_io_lookup() was
>>called for a termios device (after the first time).
> 
> 
> Here is what i have committed. I removed the members from the priv
> structure as well just to tidy things up.

FAOD that's bound to have been the right thing to do. I suspect errbuf was 
just cruft from the initial implementation that was never deleted. I can't 
think now what it could have been intended for.

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  reply	other threads:[~2005-07-26 17:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-18 16:37 Jay Foster
2005-07-21 18:02 ` Andrew Lunn
2005-07-26 17:25   ` Jonathan Larmour [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-07-17 21:34 John Paul King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42E671F1.4030801@eCosCentric.com \
    --to=jifl@ecoscentric.com \
    --cc=andrew@lunn.ch \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).