Unmanage child before destroying in XmDev
This commit is contained in:
parent
58ef75e455
commit
1a8a68a631
@ -315,6 +315,7 @@ void DeviceDelete (ConstString name) {
|
||||
|
||||
void DeviceFree (Device *this) {
|
||||
if (this == NULL) return;
|
||||
XtUnmanageChild(this->widget);
|
||||
XtDestroyWidget(this->widget);
|
||||
XtFree((char *)(this->name));
|
||||
XtFree((char *)(this->mountPoint));
|
||||
|
Loading…
Reference in New Issue
Block a user