fschopp/madlib — comment on commit 2f268443a2439b648bf14f9b288e37758b8e5c67
File: methods/kmeans/src/pg_gp/kmeans.c line 192
By fschopp:

Doesn't MemoryContextDelete just free all the memory blocks? I thought the context itself is deleted when the parent context (i.e., the function or tuple context) is destroyed. I'll check...