Supported by libMapRClient for hadoop-0.20.2 and hadoop-2.x

Frees up the array of hdfsFileInfo structures that is returned by hdfsListDirectory(), including allocated fields.

Signature

void hdfsFreeFileInfo(hdfsFileInfo *hdfsInfo, int numEntries)

Parameters

hdfsInfo

The array of dynamically-allocated hdfsFileInfo structures.

numEntries

The size of the array.