![background image](http://html1.mh-extra.com/html/national-instruments/foundation-ni-fbus/foundation-ni-fbus_hardware-and-software-user-manual_709117089.webp)
Chapter 6
NI-FBUS Function Reference
©
National Instruments Corporation
6-27
NI-FBUS Hardware and Software User Manual
nifFreeObjectAttributes
Purpose
Frees an
nifAttributes_t
structure allocated during a previous call to
nifGetObjectAttributes
.
Format
nifError_t
nifFreeObjectAttributes(
nifAttributes_t *attr)
Input
attr
Object attribute values your application reads using
nifGetObjectAttributes
.
Output
Not applicable.
Context
Session, block, VFD, physical device, link.
Description
nifFreeObjectAttributes
frees up the memory associated with the
nifAttributes_t
structure specified by
attr
.
attr
must have been filled in by a successful call to
nifGetObjectAttributes
. Once this function has been called, the contents of
attr
are no longer valid.
If your application does not call this function after calling
nifGetObjectAttributes
,
your application will not free up memory properly.
Return Values
E_OK
The call was successful.
E_BAD_ARGUMENT
attr
was not a valid
nifAttributes_t
structure.