MCPcopy Create free account
hub / github.com/GenericMappingTools/gmt / Free_Ctrl

Function Free_Ctrl

src/pshistogram.c:160–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160static void Free_Ctrl (struct GMT_CTRL *GMT, struct PSHISTOGRAM_CTRL *C) { /* Deallocate control structure */
161 if (!C) return;
162 gmt_M_str_free (C->Out.file);
163 gmt_M_str_free (C->C.file);
164 gmt_free_array (GMT, &(C->T.T));
165 gmt_M_free (GMT, C);
166}
167
168/* For some useful discussion regarding the next to functions, see the postings on this issue:
169 * https://github.com/GenericMappingTools/gmt/issues/5343

Callers

nothing calls this directly

Calls 1

gmt_free_arrayFunction · 0.85

Tested by

no test coverage detected