summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web-view.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/web-view.c b/src/web-view.c
index 67e71cd..60a8b75 100644
--- a/src/web-view.c
+++ b/src/web-view.c
@@ -238,9 +238,8 @@ finalize(GObject *object)
web_view = MQ_WEB_VIEW(object);
- if (web_view->uri) {
- g_free(web_view->uri);
- }
+ g_free(web_view->uri);
+ g_free(web_view->data);
G_OBJECT_CLASS(mq_web_view_parent_class)->finalize(object);
}