X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fvideo%2Fsdl_surface_ptr.hpp;h=ac1c126a254c7710fdb39f68d3cacb92a2c40b21;hb=6492679a300bff2c17505c5d9bc9d333eeba384d;hp=8a4ba6bd3c0b741554ee19b629b496c0675f20a1;hpb=0c86b79e15bd5ee4543dafc8c15b183a38571c0c;p=supertux.git diff --git a/src/video/sdl_surface_ptr.hpp b/src/video/sdl_surface_ptr.hpp index 8a4ba6bd3..ac1c126a2 100644 --- a/src/video/sdl_surface_ptr.hpp +++ b/src/video/sdl_surface_ptr.hpp @@ -35,7 +35,7 @@ public: m_surface(surface) {} - ~SDLSurfacePtr() + ~SDLSurfacePtr() { SDL_FreeSurface(m_surface); }