diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-02 23:57:30 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-02 23:57:30 +0000 |
commit | 07690cc67604805a12f2418226d88aa852d4d6a7 (patch) | |
tree | 767bcb14ba30c08448a26d618335e44ac3d63cf3 /kde-base/kdemultimedia/files | |
parent | Add patch to avoid memory leak in arts when using akode plugin. Thanks to Mat... (diff) | |
download | gentoo-2-07690cc67604805a12f2418226d88aa852d4d6a7.tar.gz gentoo-2-07690cc67604805a12f2418226d88aa852d4d6a7.tar.bz2 gentoo-2-07690cc67604805a12f2418226d88aa852d4d6a7.zip |
Add patch to avoid memory leak in arts when using akode plugin. Thanks to Matthew Stapleton for the patch in bug #128574.
(Portage version: 2.1_pre7-r3)
Diffstat (limited to 'kde-base/kdemultimedia/files')
-rw-r--r-- | kde-base/kdemultimedia/files/artsplugin-akode-3.5.2-memleak.patch | 25 | ||||
-rw-r--r-- | kde-base/kdemultimedia/files/digest-kdemultimedia-3.5.2-r1 | 3 |
2 files changed, 28 insertions, 0 deletions
diff --git a/kde-base/kdemultimedia/files/artsplugin-akode-3.5.2-memleak.patch b/kde-base/kdemultimedia/files/artsplugin-akode-3.5.2-memleak.patch new file mode 100644 index 000000000000..6852e3f7ad3c --- /dev/null +++ b/kde-base/kdemultimedia/files/artsplugin-akode-3.5.2-memleak.patch @@ -0,0 +1,25 @@ +diff -Naur kdemultimedia-3.5.1/akode_artsplugin/akodePlayObject_impl.cpp kdemultimedia-3.5.1-2/akode_artsplugin/akodePlayObject_impl.cpp +--- kdemultimedia-3.5.1/akode_artsplugin/akodePlayObject_impl.cpp 2005-09-10 18:20:04.000000000 +1000 ++++ kdemultimedia-3.5.1-2/akode_artsplugin/akodePlayObject_impl.cpp 2006-03-01 10:54:32.000000000 +1000 +@@ -83,6 +83,8 @@ + akodePlayObject_impl::~akodePlayObject_impl() + { + unload(); ++ ++ delete m_packetQueue; + } + + bool akodePlayObject_impl::loadPlugin(const string &plugin) +@@ -219,10 +221,9 @@ + delete bufferedDecoder; + bufferedDecoder = 0; + } +-#else +- delete frameDecoder +- frameDecoder = 0; + #endif ++ delete frameDecoder; ++ frameDecoder = 0; + decoder = 0; + if (buffer != inBuffer) + delete inBuffer; diff --git a/kde-base/kdemultimedia/files/digest-kdemultimedia-3.5.2-r1 b/kde-base/kdemultimedia/files/digest-kdemultimedia-3.5.2-r1 new file mode 100644 index 000000000000..91878b7b23bc --- /dev/null +++ b/kde-base/kdemultimedia/files/digest-kdemultimedia-3.5.2-r1 @@ -0,0 +1,3 @@ +MD5 f98ef8465bf4de1eb36bc3bdb1f4f7d6 kdemultimedia-3.5.2.tar.bz2 6272386 +RMD160 4f6fcb790e63f4af7a309677babd5e2ed938514f kdemultimedia-3.5.2.tar.bz2 6272386 +SHA256 01562af68008c10c04346a94d0dea7cedcb77673c0b7cd5cfc74360bf309a2f8 kdemultimedia-3.5.2.tar.bz2 6272386 |