Fix a potential memory leak on non-windows systems.

Also added a FIXME to BPStructs.cpp and BPMemLoader.cpp
This commit is contained in:
lioncash committed 2013-01-24 08:21:08 -05:00
1 parent f69b6b595e
commit 2db0c4270e
3 files changed
+14

No files matched your search

@@ -519,6 +519,7 @@ void BPWritten(const BPCmd& bp)
for (u32 i = 0; i < tmem_cfg.preload_tile_info.count; ++i)
{
// FIXME: Duplicate conditions.
if (tmem_addr_even + TMEM_LINE_SIZE > TMEM_SIZE ||
tmem_addr_even + TMEM_LINE_SIZE > TMEM_SIZE)
break;