hdf_destroy (3) - Linux Manuals

hdf_destroy: deallocate an HDF data set

NAME

hdf_destroy - deallocate an HDF data set

SYNOPSIS

#include <util/neo_hdf.h>

void hdf_destroy (HDF **hdf);

ARGUMENTS

hdf - pointer to an HDF data set allocated with hdf_init

DESCRIPTION

hdf_destroy is used to deallocate all memory associated with an hdf data set. Although you can pass an HDF node as an argument to this function, you are likely to cause a segfault if you continue to access the data set. In the future, we may restrict hdf_destroy so it only works on the top level node.

RETURN VALUE

None