| 158 | } |
| 159 | |
| 160 | static 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 |
nothing calls this directly
no test coverage detected