diff options
Diffstat (limited to 'src/gui/menus')
-rw-r--r-- | src/gui/menus/view.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/menus/view.c b/src/gui/menus/view.c index 0abdf2a..6f113e2 100644 --- a/src/gui/menus/view.c +++ b/src/gui/menus/view.c @@ -755,6 +755,7 @@ static void change_current_view_support(unsigned int wanted) GLoadedPanel *new; /* Panneau encapsulé */ panel = get_current_view(); + station = get_dock_station_for_view_panel(GTK_WIDGET(panel)); content = g_loaded_panel_get_content(panel); @@ -773,6 +774,8 @@ static void change_current_view_support(unsigned int wanted) change_editor_items_current_view(new); + g_object_unref(G_OBJECT(new)); + g_object_unref(G_OBJECT(cursor)); g_object_unref(G_OBJECT(panel)); |