diff options
Diffstat (limited to 'src/mongo/db/pipeline/document_source_graph_lookup.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_graph_lookup.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/document_source_graph_lookup.cpp b/src/mongo/db/pipeline/document_source_graph_lookup.cpp index e8e2cacc108..717b82d59aa 100644 --- a/src/mongo/db/pipeline/document_source_graph_lookup.cpp +++ b/src/mongo/db/pipeline/document_source_graph_lookup.cpp @@ -164,11 +164,10 @@ DocumentSource::GetNextResult DocumentSourceGraphLookUp::getNextUnwound() { } } -void DocumentSourceGraphLookUp::dispose() { +void DocumentSourceGraphLookUp::doDispose() { _cache.clear(); _frontier.clear(); _visited.clear(); - pSource->dispose(); } void DocumentSourceGraphLookUp::doBreadthFirstSearch() { |