This patch file may include trailing empty lines and/or trailing lines that consist solely of whitespace. If you edit this file, use software that preserves lines of this type, or you may break the patch. --- briquolo-0.5.7.old/src/MOGL/MOGL_Image.cpp +++ briquolo-0.5.7/src/MOGL/MOGL_Image.cpp @@ -183,7 +183,7 @@ info_ptr = png_create_info_struct(png_ptr); if (info_ptr == NULL) { - png_destroy_read_struct(&png_ptr, png_infopp_NULL, png_infopp_NULL); + png_destroy_read_struct (&png_ptr, NULL, NULL); return false; } @@ -191,7 +191,7 @@ if (setjmp(png_jmpbuf(png_ptr))) { // On libère la mémoire - png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); + png_destroy_read_struct (&png_ptr, &info_ptr, NULL); return false; }