| 97 | } |
| 98 | |
| 99 | static void Free_Ctrl (struct GMT_CTRL *GMT, struct SAMPLE1D_CTRL *C) { /* Deallocate control structure */ |
| 100 | if (!C) return; |
| 101 | gmt_M_str_free (C->Out.file); |
| 102 | gmt_M_str_free (C->C.file); |
| 103 | gmt_M_str_free (C->C.savecpt); |
| 104 | gmt_free_array (GMT, &(C->T.T)); |
| 105 | gmt_M_free (GMT, C); |
| 106 | } |
| 107 | |
| 108 | static int usage (struct GMTAPI_CTRL *API, int level) { |
| 109 | const char *name = gmt_show_name_and_purpose (API, THIS_MODULE_LIB, THIS_MODULE_CLASSIC_NAME, THIS_MODULE_PURPOSE); |
nothing calls this directly
no test coverage detected