Fixed memory leak in bindings of cpSplittingPlane