;+ ; @file_comments ; ; ; @categories ; ; ; @param S ; The string to be searched ; ; ; @returns ; ; ; @restrictions ; ; ; @examples ; ; ; @history ; ; ; @version ; $Id$ ; ;- PRO ncdf_struct_free,s ; compile_opt idl2, strictarrsubs ; ; ; free heap memory associated with struct returned by ncdf_struct ; for i=0,s.nvars-1 do ptr_free,s.vars.(i).data end