mpv_free_node_contents

Frees any data referenced by the node. It doesn't free the node itself. Call this only if the mpv client API set the node. If you constructed the node yourself (manually), you have to free it yourself.

If node->format is MPV_FORMAT_NONE, this call does nothing. Likewise, if the client API sets a node with this format, this function doesn't need to be called. (This is just a clarification that there's no danger of anything strange happening in these cases.)

extern (C)
void
mpv_free_node_contents

Meta