Programmer Guide > Creating an OPI Option > wave_free_WCH
  

wave_free_WCH
Frees the compiled PV‑WAVE command.
C Usage
void wave_free_WCH(WCHptr)
WCH *WCHptr;
FORTRAN Usage
Not available.
Input Parameters
WCHptr—A pointer to a Wave Code Handle for the compiled code that is to be freed.
Discussion
The wave_free_WCH function frees the PV‑WAVE resource allocated for the WCH handle that was allocated in wave_compile. Not freeing the WCH will result in resource leaks.

Version 2017.1
Copyright © 2019, Rogue Wave Software, Inc. All Rights Reserved.