From 0fafa9576e8963928c13c81524e64b624b794c98 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 2 Jan 2017 15:02:32 +0000 Subject: make the window title text common --- frontends/amiga/corewindow.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'frontends/amiga/corewindow.c') diff --git a/frontends/amiga/corewindow.c b/frontends/amiga/corewindow.c index db42775bb..024e768b9 100644 --- a/frontends/amiga/corewindow.c +++ b/frontends/amiga/corewindow.c @@ -60,6 +60,7 @@ #include "amiga/misc.h" #include "amiga/object.h" #include "amiga/schedule.h" +#include "amiga/utf8.h" /** * Convert co-ordinates relative to space.gadget @@ -665,6 +666,9 @@ nserror ami_corewindow_fini(struct ami_corewindow *ami_cw) ami_plot_release_pens(ami_cw->gg.shared_pens); ami_free_layers(&ami_cw->gg); + /* free the window title */ + ami_utf8_free(ami_cw->wintitle); + /* remove the core window from our window list */ ami_gui_win_list_remove(ami_cw); -- cgit v1.2.3