questionable cleanup in thread initialize

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Mar 28 09:48:46 UTC 2014


On 2014-03-26 15:40, Gedare Bloom wrote:
> In the "failed" section of threadinitialize.c(), should
>      _Workspace_Free( sched );
> be
>      if ( sched )
>        _Scheduler_Free( the_thread );
> ?

Yes, this looks like a bug.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list