[Patch] fix small memleak in _dbus_setenv()

Havoc Pennington hp at pobox.com
Wed Apr 23 15:15:38 PDT 2008


Hi,

On Wed, Apr 23, 2008 at 3:49 PM, Christian Ehrlicher
<Ch.Ehrlicher at gmx.de> wrote:
>  I don't see such a comment in msdn - so at least it works correct on
>  windows.
>

http://www.opengroup.org/onlinepubs/009695399/functions/putenv.html

"string shall become part of the environment, so altering the string
shall change the environment"

MSDN is not exactly known for exhaustively mentioning all the details,
so I would definitely try this out on Windows rather than assume it's
different from unix.

Havoc


More information about the dbus mailing list