** Free memory allocated for a character array */
| 147 | ** Free memory allocated for a character array |
| 148 | */ |
| 149 | void msFreeCharArray(char **array, int num_items) |
| 150 | { |
| 151 | int i; |
| 152 | |
| 153 | if((num_items < 0) || !array) return; |
| 154 | |
| 155 | for(i=0;i<num_items;i++) |
| 156 | msFree(array[i]); |
| 157 | msFree(array); |
| 158 | |
| 159 | return; |
| 160 | } |
| 161 | |
| 162 | /* |
| 163 | ** Checks symbol from lexer against variable length list of |
no test coverage detected