Răsfoiți Sursa

Added missing delete call to ScreenEntity::~ScreenEntity

cib 12 ani în urmă
părinte
comite
34e38ab37f
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      Core/Contents/Source/PolyScreenEntity.cpp

+ 1 - 0
Core/Contents/Source/PolyScreenEntity.cpp

@@ -201,6 +201,7 @@ ScreenEntity::~ScreenEntity() {
 	if(CoreServices::getInstance()->focusedChild == this) {
 	if(CoreServices::getInstance()->focusedChild == this) {
 		CoreServices::getInstance()->focusedChild = NULL;
 		CoreServices::getInstance()->focusedChild = NULL;
 	}
 	}
+	if(dragLimits) delete dragLimits;
 }
 }
 
 
 void ScreenEntity::setBlendingMode(int newBlendingMode) {
 void ScreenEntity::setBlendingMode(int newBlendingMode) {