Explorar el Código

Memory leak behoben

Kolja Strohm hace 6 años
padre
commit
c8bea650f1
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      KSGClient/NachLogin/Neuigkeiten/Neuigkeiten.cpp

+ 1 - 0
KSGClient/NachLogin/Neuigkeiten/Neuigkeiten.cpp

@@ -189,6 +189,7 @@ void Neuigkeiten::r
     wirdGeladen = 1;
     laden->setSichtbar( 1 );
     new NewsThread( b->getText(), dynamic_cast<KSGScriptObj *>( script->getThis() ), (Neuigkeiten *)getThis() );
+    b->release();
 }
 
 void Neuigkeiten::doMausEreignis( MausEreignis & me )