51.7. slapi_task_get_data()
void * slapi_task_get_data(Slapi_Task *task)
This function takes the following parameter:
| task | Points to the task operation which is being performed by the server. |
This function returns the pointer that was passed into slapi_task_set_data(). Most of the time, do not free this memory directly. It is recommended that a destructor callback function, such as slapi_task_set_destructor_fn(), be specified after creating the task. This descructor callback function is then responsible for cleaning up the task data.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.