summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-04-09 11:07:27 -0400
committerLioncash <mathew1800@gmail.com>2015-04-09 11:07:27 -0400
commit2c2409fee437a2826050a7a67cfcbe690f8cae64 (patch)
treec71302ee454d72d4f2790e1e050c5f13b5e335b0 /Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp
parent47bc61148511b2f95f44fc4d3eb645915d8a1d8c (diff)
parent180854c617e1a7884e5996ab01ec751cf858aead (diff)
Merge pull request #2278 from lioncash/leak
Debugger: Fix memory leaks related to grid tables
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp b/Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp
index 0eece2d15c..4b1ecfd72a 100644
--- a/Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp
+++ b/Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp
@@ -70,7 +70,6 @@ wxGridCellAttr *CDSPRegTable::GetAttr(int row, int col, wxGridCellAttr::wxAttrKi
if (col == 1)
attr->SetTextColour(m_CachedRegHasChanged[row] ? *wxRED : *wxBLACK);
- attr->IncRef();
return attr;
}