summaryrefslogtreecommitdiffstats
path: root/src/gui_photon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_photon.c')
-rw-r--r--src/gui_photon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui_photon.c b/src/gui_photon.c
index fcfb4f6d9c..327b356514 100644
--- a/src/gui_photon.c
+++ b/src/gui_photon.c
@@ -1040,8 +1040,7 @@ gui_ph_pg_remove_buffer(char *name)
PtSetResource(gui.vimPanelGroup, Pt_ARG_PG_PANEL_TITLES, &empty_title,
1);
- vim_free(panel_titles);
- panel_titles = NULL;
+ VIM_CLEAR(panel_titles);
}
}