[Common/Core/Windows] Removed excess check pointer before delete or free()

This commit is contained in:
Herman Semenov authored and Henrik Rydgård committed 2024-09-17 11:34:42 +02:00
1 parent 94f0e7afa8
commit 3c66f149d3
26 files changed
+46 -96

No files matched your search

+1 -3
View File
@@ -95,9 +95,7 @@ struct FPL : public KernelObject
{
FPL() : blocks(NULL), nextBlock(0) {}
~FPL() {
if (blocks != NULL) {
delete [] blocks;
}
delete [] blocks;
}
const char *GetName() override { return nf.name; }
const char *GetTypeName() override { return GetStaticTypeName(); }