mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 01:33:45 +01:00
[Common/Core/Windows] Removed excess check pointer before delete or free()
This commit is contained in:
1 parent
94f0e7afa8
commit
3c66f149d3
26 files changed
+46
-96
No files matched your search
@@ -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(); }
|
||||
|
||||
Reference in new issue
Block a user