Skip to content

Commit

Permalink
[IMF] use correct delete syntax (detected by Valgrind and Coverity)
Browse files Browse the repository at this point in the history
  • Loading branch information
mywave82 committed Aug 7, 2024
1 parent 62ea4ec commit 5a2aa14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ bool CimfPlayer::load(const std::string &filename, const CFileProvider &fp)
// 6 Bytes: unknown data
track_name = std::string(&footer[2]);
remarks = std::string(&footer[18]);
delete footer;
delete[] footer;
footer = 0;
}
}
Expand Down

0 comments on commit 5a2aa14

Please sign in to comment.