Defined in File ziAPI.h
ZIResult_enum ziAPIDestroy(ZIConnection conn)#
Destroys a ZIConnection structure.
This function frees all memory that has been allocated by ziAPIInit. If it is called with an uninitialized ZIConnection struct it may result in segmentation faults as well when it is called with a struct for which ZIAPIDestroy already has been called.
See Connection for an example