diff options
author | Underground78 <underground78@users.sourceforge.net> | 2012-11-10 19:14:36 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2012-11-12 02:24:55 +0400 |
commit | 19f3afdfa6586b556af5886f8eaf1f1390f06612 (patch) | |
tree | b8fcc77c0e57fb52e0d6b8f03c258992e29836d9 /src/filters/switcher/AudioSwitcher/Audio.cpp | |
parent | 5f99d807904e3adaa533b954df8bc37e28c7a4fe (diff) |
Properly enable memory leak detection.
Use MS define DEBUG_NEW.
Diffstat (limited to 'src/filters/switcher/AudioSwitcher/Audio.cpp')
-rw-r--r-- | src/filters/switcher/AudioSwitcher/Audio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/switcher/AudioSwitcher/Audio.cpp b/src/filters/switcher/AudioSwitcher/Audio.cpp index 70b462f66..8559a4b1b 100644 --- a/src/filters/switcher/AudioSwitcher/Audio.cpp +++ b/src/filters/switcher/AudioSwitcher/Audio.cpp @@ -207,7 +207,7 @@ AudioStreamResampler::AudioStreamResampler(int bps, long orig_rate, long new_rat filter_width = ((samp_frac + 0x7ffff) >> 19) << 1 << 1;
- filter_bank = DNew long[filter_width * 256];
+ filter_bank = DEBUG_NEW long[filter_width * 256];
if (!filter_bank) {
filter_width = 1;
return;
|