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

List:       kde-commits
Subject:    kdelibs/arts/knotify
From:       Neil Stevens <neil () qualityassistant ! com>
Date:       2003-03-10 19:55:21
[Download RAW message or body]

CVS commit by neil: 

Don't leak memory.


  M +3 -0      knotify.cpp   1.73


--- kdelibs/arts/knotify/knotify.cpp  #1.72:1.73
@@ -395,5 +395,8 @@ bool KNotify::notifyBySound( const QStri
 
         if (playObject->isNull())
+        {
+            delete playObject;
             return false;
+        }
 
         if ( d->volume != 100 )


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

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