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

List:       kde-commits
Subject:    kdemultimedia/arts/builder
From:       George Staikos <staikos () kde ! org>
Date:       2003-06-22 21:03:20
[Download RAW message or body]

CVS commit by staikos: 

Don't crash here.

CCMAIL: 45696-done@bugs.kde.org, 51842-done@bugs.kde.org, 54534-done@bugs.kde.org


  M +5 -0      structure.cpp   1.18


--- kdemultimedia/arts/builder/structure.cpp  #1.17:1.18
@@ -26,4 +26,5 @@
 #include <iostream>
 #include <fstream>
+#include <kdebug.h>
 #include <arts/debug.h>
 
@@ -132,4 +133,8 @@ bool Structure::startExecute()
         /* create the structure on the server */
         structure = Arts::DynamicCast(builder.createObject(remoteSD));
+
+        if (structure.isNull())
+                return false;
+
         structure.start();
 


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

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