Probably not good to invalidate the layout in the destructor...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30350 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5d2a1fb46e
commit
8baeb63aa2
@ -331,7 +331,8 @@ PaneSwitch::PaneSwitch(const char *name, bool leftAligned, uint32 flags)
|
|||||||
|
|
||||||
PaneSwitch::~PaneSwitch()
|
PaneSwitch::~PaneSwitch()
|
||||||
{
|
{
|
||||||
SetLabels(NULL, NULL);
|
free(fLabelOn);
|
||||||
|
free(fLabelOff);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user