MCPcopy Create free account
hub / github.com/apache/impala / DoubleFreeTest

Function DoubleFreeTest

be/src/testutil/test-udfs.cc:474–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472}
473
474IMPALA_UDF_EXPORT
475BigIntVal DoubleFreeTest(FunctionContext* context, BigIntVal bytes) {
476 context->TrackAllocation(bytes.val);
477 context->Free(bytes.val);
478 context->Free(bytes.val);
479 return bytes;
480}
481
482extern "C"
483IMPALA_UDF_EXPORT

Callers

nothing calls this directly

Calls 2

TrackAllocationMethod · 0.80
FreeMethod · 0.45

Tested by

no test coverage detected