split_free2()

split_free2()#

Frees the memory allocated for a list of strings created by split2().

Prototype

void split_free2(const char **list);

Parameters

Key

Type

Description

list

const char **

Pointer to the list of strings to be freed.


Return Value

None.

Notes

This function should be used to deallocate memory allocated by split2() to prevent memory leaks.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples