Merge branch 'bug_414_spinner_recording_paths' into experimental
[enigma2.git] / lib / gdi / epng.cpp
index d0da60327b4c249b74e7f260662ff3f085a83cab..972a89d374cf647f6eb667db5e90da730b6c85ea 100644 (file)
@@ -300,7 +300,7 @@ int savePNG(const char *filename, gPixmap *pixmap)
                else
                        png_write_row(png_ptr, row_pointer);
        }
-       delete cr;
+       delete [] cr;
 
        png_write_end(png_ptr, info_ptr);
        png_destroy_write_struct(&png_ptr, &info_ptr);