Skip to content

Commit

Permalink
Use delete[]
Browse files Browse the repository at this point in the history
  • Loading branch information
louist103 authored Dec 29, 2024
1 parent 944f0b4 commit 32a0ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/window/gui/resource/Font.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Font::Font() : Resource(std::shared_ptr<ResourceInitData>()) {

Font::~Font() {
if (Data != nullptr) {
delete Data;
delete[] Data;
}
}

Expand Down

0 comments on commit 32a0ce5

Please sign in to comment.