Pop and free every element, then free the stack.
Declared in <openssl/stack.h>
void
OPENSSL_sk_pop_free(
OPENSSL_STACK* st,
void(* func)(void*));
| Name | Description |
|---|---|
| st | Stack to destroy, or NULL. |
| func | Destructor applied to each element (must accept the element pointer). |