CNVFreeMemory

void CNVFreeMemory (void *pointer);

Purpose

Frees memory allocated by the Network Variable Library.

It is not safe to free the same memory more than once. You must set your pointer variable to NULL after freeing the memory it points to.

Parameters

Input
Name Type Description
pointer void * The pointer to free. This memory must have been allocated by the Network Variable Library.

Return Value

None.

Additional Information

Library: Network Variable Library

Include file: cvinetv.h

LabWindows/CVI compatibility: LabWindows/CVI 8.1 and later

Examples

Refer to the following examples that use the CNVFreeMemory function:

  • networkvariable\Configurator\configurator.cws

    Open example
  • networkvariable\Quality\NVQuality.cws

    Open example

WAS THIS ARTICLE HELPFUL?

Not Helpful