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

I know that init_MultiFuncCall and end_MultiFuncCall definitely go through pains to make sure that they register/unregisiter a callback and manually delete the memory context created in init_MultiFuncCall. It leaves me slightly unsettled to just leave it hanging there to be cleaned up by the parent, but I can't point to any particular thing that would go wrong.