Index: ui/oak/oak_window.cc |
diff --git a/ui/oak/oak_window.cc b/ui/oak/oak_window.cc |
index 832a7a970845381da3207f22dd6557430088b19d..7cf7dffdcceaecc6b2e48d10d84002f3bf8fb7ac 100644 |
--- a/ui/oak/oak_window.cc |
+++ b/ui/oak/oak_window.cc |
@@ -68,6 +68,7 @@ bool OakWindow::ShouldShowWindowIcon() const { |
void OakWindow::DeleteDelegate() { |
instance = NULL; |
+ delete this; |
} |
//////////////////////////////////////////////////////////////////////////////// |