33.32. slapi_mods_free()

Frees a Slapi_Mods structure.
Description

This function frees a Slapi_Mods that was allocated by slapi_mods_new().

Syntax

#include "slapi-plugin.h"
void slapi_mods_free(Slapi_Mods **smods);

Parameters

This function takes the following parameter:

mods
Pointer to an allocated Slapi_Mods.