summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/tasks.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/src/tasks.c')
-rw-r--r--cpukit/rtems/src/tasks.c2
1 files changed, 1 insertions, 1 deletions
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 );