DocumentSourceUnionWith::doGetNext() contains the following line of code:
_pipeline = pExpCtx->getMongoProcessInterface()->preparePipelineForExecution( _pipeline.release());
However, if preparePipelieForExecution() throws, the release pipeline object might not be destroyed accordingly (memory leak).
- is related to
-
SERVER-107007 Remove PipelineDeleter
-
- Closed
-