summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-09-21 13:57:57 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-09-21 13:57:57 +0000
commit8f6e5f0d53b9ea72304d351471cf702428c71b50 (patch)
tree2e8334544d1014b60e323da4d0d9116f4f748f0c /cpukit
parentabde5688c25c4bd0f818b6f51df6726cfad7c529 (diff)
downloadrtems-8f6e5f0d53b9ea72304d351471cf702428c71b50.tar.bz2
2001-09-14 Fernando Ruiz <fernando.ruiz@ctv.es>
* src/tasks.c: Dereference pointer passed to destructor.
Diffstat (limited to '')
-rw-r--r--cpukit/rtems/ChangeLog4
-rw-r--r--cpukit/rtems/src/tasks.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/rtems/ChangeLog b/cpukit/rtems/ChangeLog
index e9d9fcef30..643f10905c 100644
--- a/cpukit/rtems/ChangeLog
+++ b/cpukit/rtems/ChangeLog
@@ -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
diff --git a/cpukit/rtems/src/tasks.c b/cpukit/rtems/src/tasks.c
index 40426642c9..17b233202d 100644
--- a/cpukit/rtems/src/tasks.c
+++ b/cpukit/rtems/src/tasks.c
@@ -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 );