diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-07-17 09:02:37 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-07-17 09:04:18 (GMT) |
commit | ee11f5d277e9df92e58c7c1c73c9a44359ce9b0f (patch) | |
tree | fef465265f79deed8acefe9022f008a89f99642b /src/3rdparty | |
parent | 83d9c5978fd5089457a28f16be6d26b047d80b7d (diff) | |
download | Qt-ee11f5d277e9df92e58c7c1c73c9a44359ce9b0f.zip Qt-ee11f5d277e9df92e58c7c1c73c9a44359ce9b0f.tar.gz Qt-ee11f5d277e9df92e58c7c1c73c9a44359ce9b0f.tar.bz2 |
Fixed another memory leak in Phonon on windows
This would happen if you we didn't free the memory allocator when
disconnecting the fake source from a sink (eg. video renderer)
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/phonon/ds9/qpin.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/3rdparty/phonon/ds9/qpin.cpp b/src/3rdparty/phonon/ds9/qpin.cpp index 3762a90..68a4ec0 100644 --- a/src/3rdparty/phonon/ds9/qpin.cpp +++ b/src/3rdparty/phonon/ds9/qpin.cpp @@ -303,9 +303,7 @@ namespace Phonon setConnected(0); setConnectedType(defaultMediaType); - if (m_direction == PINDIR_INPUT) { - setMemoryAllocator(0); - } + setMemoryAllocator(0); return S_OK; } |