summaryrefslogtreecommitdiff
path: root/src/view.c
diff options
context:
space:
mode:
authorportix <none@none>2012-12-26 01:29:36 +0100
committerportix <none@none>2012-12-26 01:29:36 +0100
commit1d35e898b78d717e49a23af1ee16019b29832929 (patch)
treed2e48b65b7ad125d3778dfdcc1b50bfa2792e238 /src/view.c
parentd45d3d545e3e13daa13c3bcce2be27172938c11f (diff)
downloaddwb-1d35e898b78d717e49a23af1ee16019b29832929.zip
Ensure that plugins are freed only once, fixes segfault if a tab is closed
Diffstat (limited to 'src/view.c')
-rw-r--r--src/view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/view.c b/src/view.c
index 1b6f8703..408cec5c 100644
--- a/src/view.c
+++ b/src/view.c
@@ -1162,6 +1162,7 @@ view_clean(GList *gl)
gtk_widget_destroy(v->tabevent);
plugins_free(v->plugins);
+ g_slist_free(v->status->allowed_plugins);
scripts_remove_tab(v->script_wv);