perf analysis: customize float precision in reports
[nit.git] / lib / gamnit / display_linux.nit
index dcfd963..e9af008 100644 (file)
@@ -139,5 +139,7 @@ redef class TextureAsset
                var pixels = surface.pixels
 
                load_from_pixels(pixels, surface.w, surface.h, format)
+
+               surface.free
        end
 end