Index: webrtc/modules/audio_processing/splitting_filter.cc |
diff --git a/webrtc/modules/audio_processing/splitting_filter.cc b/webrtc/modules/audio_processing/splitting_filter.cc |
index 46cc9352c2dfad9ed434357058400b27329420e2..e87a7f86218b9fd50c8fe109f55b128f8af7d04b 100644 |
--- a/webrtc/modules/audio_processing/splitting_filter.cc |
+++ b/webrtc/modules/audio_processing/splitting_filter.cc |
@@ -25,7 +25,8 @@ SplittingFilter::SplittingFilter(size_t num_channels, |
two_bands_states_.resize(num_channels); |
} else if (num_bands_ == 3) { |
for (size_t i = 0; i < num_channels; ++i) { |
- three_band_filter_banks_.push_back(new ThreeBandFilterBank(num_frames)); |
+ three_band_filter_banks_.push_back(std::unique_ptr<ThreeBandFilterBank>( |
+ new ThreeBandFilterBank(num_frames))); |
} |
} |
} |