Show Table of Contents
31.3. slapi_counter_destroy()
Frees a Slapi_Counter structure from memory. Use this with a dynamically allocated
Slapi_Counter structure that was obtained by calling slapi_counter_new().
Before calling this function, make sure that the specified counter is no longer in use.
Do not call
slapi_counter_destroy() to destroy a counter which was not dynamically allocated.
Syntax
#include "slapi-plugin.h" void slapi_counter_destroy(Slapi_Counter **counter);
Parameters
This function takes the following parameter:
| counter | The address of the counter being destroyed. |

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.