Merge pull request #376 from apache/FixSetOpLeakage

Fix set op leakage