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

Function ClearIntPool

src/gpre/languages/fbrmclib.cpp:200–209  ·  view source on GitHub ↗

Clear the intPool, freeing any previously allocated ints

Source from the content-addressed store, hash-verified

198
199// Clear the intPool, freeing any previously allocated ints
200static void ClearIntPool()
201{
202 for (int i = 0; i < MAX_PARAMS; i++)
203 {
204 if (intPoolInitialized && intPool[i])
205 free(intPool[i]);
206 intPool[i] = NULL;
207 }
208 intPoolInitialized = true;
209}
210
211// Clear the shortPool, freeing any previously allocated ints
212static void ClearShortPool()

Callers 1

ClearParamPoolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected