aboutsummaryrefslogtreecommitdiff
path: root/src/uicmd.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/uicmd.cc')
-rw-r--r--src/uicmd.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uicmd.cc b/src/uicmd.cc
index e687c600..f3da2d0a 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -125,8 +125,8 @@ void a_UIcmd_close_bw(void *vbw)
MSG("a_UIcmd_close_bw\n");
a_Bw_stop_clients(bw, BW_Root + BW_Img + Bw_Force);
- ui->destroy();
delete(layout);
+ delete(ui);
a_Bw_free(bw);
}