diff --git a/contrib/oss-fuzz/libpng_read_fuzzer.cc b/contrib/oss-fuzz/libpng_read_fuzzer.cc index 2e8229d91..9135a0386 100644 --- a/contrib/oss-fuzz/libpng_read_fuzzer.cc +++ b/contrib/oss-fuzz/libpng_read_fuzzer.cc @@ -43,7 +43,7 @@ struct PngObjectHandler { else if (info_ptr) png_destroy_read_struct(&png_ptr, &info_ptr, nullptr); else - png_destroy_read_struct(&png_handler.png_ptr, nullptr, nullptr); + png_destroy_read_struct(&png_ptr, nullptr, nullptr); delete buf_state; } };