summaryrefslogtreecommitdiffstats
path: root/src/gtk2_in_qt5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtk2_in_qt5.cpp')
-rw-r--r--src/gtk2_in_qt5.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gtk2_in_qt5.cpp b/src/gtk2_in_qt5.cpp
index eacf677..daf4eac 100644
--- a/src/gtk2_in_qt5.cpp
+++ b/src/gtk2_in_qt5.cpp
@@ -74,9 +74,7 @@ wrapper_free(SuilWrapper* wrapper)
gtk_widget_destroy(impl->plug);
}
- if (impl->host_widget) {
- delete impl->host_widget;
- }
+ delete impl->host_widget;
free(impl);
}