| 1039 | } |
| 1040 | |
| 1041 | void msFreeProjection(projectionObj *p) { |
| 1042 | #ifdef USE_PROJ |
| 1043 | if(p->proj) |
| 1044 | { |
| 1045 | pj_free(p->proj); |
| 1046 | p->proj = NULL; |
| 1047 | } |
| 1048 | |
| 1049 | msFreeCharArray(p->args, p->numargs); |
| 1050 | p->args = NULL; |
| 1051 | p->numargs = 0; |
| 1052 | #endif |
| 1053 | } |
| 1054 | |
| 1055 | /* |
| 1056 | ** Handle OGC WMS/WFS AUTO projection in the format: |
no test coverage detected