Skip to content

Commit

Permalink
Fix use of non array delete on array value
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram authored Oct 8, 2018
1 parent bad57e7 commit 14d9d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RageSurface_Load_PNG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ RageSurface_Load_PNG(RageFile* f,
png_read_end(png, info_ptr);
png_destroy_read_struct(&png, &info_ptr, nullptr);

delete row_pointers;
delete[] row_pointers;

return img;
}
Expand Down

0 comments on commit 14d9d64

Please sign in to comment.