2001-09-14 Fernando Ruiz <fernando.ruiz@ctv.es>

* src/tasks.c: Dereference pointer passed to destructor.
This commit is contained in:
Joel Sherrill
2001-09-21 13:57:57 +00:00
parent abde5688c2
commit 8f6e5f0d53
4 changed files with 10 additions and 2 deletions
+4
View File
@@ -1,3 +1,7 @@
2001-09-14 Fernando Ruiz <fernando.ruiz@ctv.es>
* src/tasks.c: Dereference pointer passed to destructor.
2001-08-30 Joel Sherrill <joel@OARcorp.com>
* inline/rtems/rtems/attr.inl: Correct typo and use correct
+1 -1
View File
@@ -104,7 +104,7 @@ User_extensions_routine _RTEMS_tasks_Delete_extension(
while (tvp) {
next = tvp->next;
if (tvp->dtor)
(*tvp->dtor)( tvp->ptr );
(*tvp->dtor)(*tvp->ptr );
if (executing == deleted)
*tvp->ptr = tvp->gval;
_Workspace_Free( tvp );
+4
View File
@@ -1,3 +1,7 @@
2001-09-14 Fernando Ruiz <fernando.ruiz@ctv.es>
* src/tasks.c: Dereference pointer passed to destructor.
2001-08-30 Joel Sherrill <joel@OARcorp.com>
* inline/rtems/rtems/attr.inl: Correct typo and use correct
+1 -1
View File
@@ -104,7 +104,7 @@ User_extensions_routine _RTEMS_tasks_Delete_extension(
while (tvp) {
next = tvp->next;
if (tvp->dtor)
(*tvp->dtor)( tvp->ptr );
(*tvp->dtor)(*tvp->ptr );
if (executing == deleted)
*tvp->ptr = tvp->gval;
_Workspace_Free( tvp );