[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/akode/lib
From:       Dirk Mueller <mueller () kde ! org>
Date:       2005-09-21 12:58:48
Message-ID: 1127307528.417859.13672.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 462588 by mueller:

fix insane memory leak



 M  +2 -0      auto_sink.cpp  


--- trunk/kdesupport/akode/lib/auto_sink.cpp #462587:462588
@@ -33,6 +33,8 @@
     SinkPluginHandler plugin_handler;
     Sink* sink;
 
+    ~private_data() { delete sink; }
+
     bool tryOpen(const string plugin) {
         if (plugin_handler.load(plugin)) {
             sink = plugin_handler.openSink();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic