Fix for spawning windows processes

Fridrich Strba fridrich.strba at bluewin.ch
Wed Apr 28 02:44:45 PDT 2010


Yeah, just cooking a patch that will abstract the composition of strings
and that also fixes that leak. Stay tuned in some minutes.

Cheers

Fridrich

On Wed, 2010-04-28 at 12:41 +0300, Tor Lillqvist wrote: 
> > This patch is fixing a bug in dbus/dbus-spawn-win.c
> 
> I  wonder if it would be OK to free(env_string) after passing it to
> CreateProcessA()? The documentation is unfortunately silent on this
> matter. I assume yes, I can't see why it would be needed after
> CreateprocessA() has returned.
> 
> --tml
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
> 





More information about the dbus mailing list