Clear the shortPool, freeing any previously allocated ints
| 210 | |
| 211 | // Clear the shortPool, freeing any previously allocated ints |
| 212 | static void ClearShortPool() |
| 213 | { |
| 214 | for (int i = 0; i < MAX_PARAMS; i++) |
| 215 | { |
| 216 | if (shortPoolInitialized && shortPool[i]) |
| 217 | free(shortPool[i]); |
| 218 | shortPool[i] = NULL; |
| 219 | } |
| 220 | shortPoolInitialized = true; |
| 221 | } |
| 222 | |
| 223 | // Clear all parameter pools |
| 224 | static void ClearParamPool() |