ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] Fix for ratpoison OpenBSD-Port


From: Shawn Betts
Subject: Re: [RP] Fix for ratpoison OpenBSD-Port
Date: Thu Oct 7 16:50:24 2004
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Matthias Kilian <address@hidden> writes:

> [Cc'd to the maintainer of the OpenBSD port]
> 
> On Thu, Oct 07, 2004 at 01:10:42PM -0700, Shawn Betts wrote:
> > I just added code to CVS to add an '=' and pass it to putenv. Can you
> > test it on your OpenBSD box? I don't have one.
> 
> Tested on OpenBSD 3.6.
> 
> It works, but there's a memory leak. May I suggest an additional
> patch? [untested, but it's trivial]

Are you sure? The putenv man page say:

   The string pointed to by string becomes part of the environ- ment, so
   altering the string changes the environment.

Which would suggest that freeing that string frees the environment.

-Shawn



reply via email to

[Prev in Thread] Current Thread [Next in Thread]