MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ClearShortPool

Function ClearShortPool

src/gpre/languages/fbrmclib.cpp:212–221  ·  view source on GitHub ↗

Clear the shortPool, freeing any previously allocated ints

Source from the content-addressed store, hash-verified

210
211// Clear the shortPool, freeing any previously allocated ints
212static 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
224static void ClearParamPool()

Callers 1

ClearParamPoolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected