diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-03-29 17:56:23 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-03-29 17:56:23 +0200 |
commit | b6bb001fc471283b886aaf69b466f198577fa019 (patch) | |
tree | 9588fcc2730e92f48330e34546c800e170427fd8 /src/gui/gtk | |
parent | 56526db5cf0df2b115b377db82ed3b064396790b (diff) | |
download | weechat-b6bb001fc471283b886aaf69b466f198577fa019.zip |
Free some extra memory when exiting WeeChat
Diffstat (limited to 'src/gui/gtk')
-rw-r--r-- | src/gui/gtk/gui-gtk-main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/gtk/gui-gtk-main.c b/src/gui/gtk/gui-gtk-main.c index acffeea95..b0fa9ea90 100644 --- a/src/gui/gtk/gui-gtk-main.c +++ b/src/gui/gtk/gui-gtk-main.c @@ -70,8 +70,8 @@ gui_main_pre_init (int *argc, char **argv[]) /* pre-init colors */ gui_color_pre_init (); - /* build empty prefixes (before reading config) */ - gui_chat_prefix_build_empty (); + /* init some variables for chat area */ + gui_chat_init (); /* Initialise Gtk */ gtk_init (argc, argv); @@ -277,7 +277,7 @@ gui_main_end (int clean_exit) /* end color */ gui_color_end (); - /* free chat buffer */ - gui_chat_free_buffer (); + /* free some variables used for chat area */ + gui_chat_end (); } } |