Explorar o código

- missed memory leak in last commit

Ivan Savenko %!s(int64=15) %!d(string=hai) anos
pai
achega
914212c9c1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      hch/CAnimation.cpp

+ 1 - 0
hch/CAnimation.cpp

@@ -608,6 +608,7 @@ SDL_Surface * CAnimation::image(size_t frame, size_t group)
 
 void CAnimation::clear()
 {
+	unload();
 	entries.clear();
 }