summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-04-09 23:15:15 -0400
committerLioncash <mathew1800@gmail.com>2015-04-09 23:33:33 -0400
commit00943b1ef467ff511734b48b55dc2c3874720cc8 (patch)
treef4875021dc721eeae1c94578021b4c3e3b8fe53f /Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
parent1a18cad178b65c4f339982e3db451763e1425c45 (diff)
DolphinWX: Fix memory leaks relating to the TAS dialog
Initially, the dialogs construct in the background when Dolphin initializes. However, it waits until the user actually makes the dialogs visible to decide on whether to create the Wii or GC control layouts. Therefore, the call to CreateBaseLayout() essentially creates a sizer that isn't actually attached to a main sizer that is set as the sizer for the dialog to use. So upon destruction, these controls would never actually be destroyed if the user didn't open and then close the TAS dialogs.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp')
0 files changed, 0 insertions, 0 deletions