MCPcopy Index your code
hub / github.com/MapServer/MapServer / msFreeCharArray

Function msFreeCharArray

mapfile.c:149–160  ·  view source on GitHub ↗

** Free memory allocated for a character array */

Source from the content-addressed store, hash-verified

147** Free memory allocated for a character array
148*/
149void 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

Callers 15

msSLDParseStrokeFunction · 0.85
msSLDGenerateTextSLDFunction · 0.85
msFreeOutputFormatFunction · 0.85
FLTParseEpsgStringFunction · 0.85
FLTApplySimpleSQLFilterFunction · 0.85
FLTInsertElementInNodeFunction · 0.85
FLTGetShapeFunction · 0.85
FLTGetSQLExpressionFunction · 0.85

Calls 1

msFreeFunction · 0.85

Tested by

no test coverage detected