Admin Production ni-theme
Current Publication

CNSFreeMemory

LabWindows/CVI

CNSFreeMemory

int CNSFreeMemory (void *ptr);

Purpose

Frees memory allocated by the Network Streams Library. You must free allocated memory in the following situations:

Parameters

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

Return Value

Name Type Description
error int An error code returned by a Network Streams Library function.

Additional Information

Library: Network Streams Library

Include file: cvinetstreams.h

LabWindows/CVI compatibility: LabWindows/CVI 2013 and later