Xceed Zip Compression Library Documentation
XzFree function
Direct DLL API > DLL API function reference > XzFree function

Description

Frees memory provided by an instance of the XceedZip or the XceedCompression object, or frees memory allocated with the XzAlloc function.

When you handle the UnzippingMemoryFile event, you must free the pbUncompressedData parameter using XzFree when you no longer need access to it.

When you call the XcCompress or XcUncompress functions, you must free the destination buffer with XzFree when you no longer need access to it.

Declaration  

void XzFree( BYTE* pcBuffer )

Parameters

Parameter Description
pcBuffer  Pointer to a buffer previously created with XzAlloc or by an Xceed Zip or Xceed Compression instance.