Kaydet (Commit) 40e4ab0d authored tarafından Nick Treleaven's avatar Nick Treleaven

Stop Valgrind complaining about a vc->emulation leak.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1130 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 606fef2b
......@@ -5,6 +5,8 @@
* src/treeviews.c, src/ui_utils.c:
Fix tag treeview not being freed (because of g_object_ref).
Separate recreate_tag_list() from ui_update_tag_list().
* src/vte.c:
Stop Valgrind complaining about a vc->emulation leak.
2006-12-18 Enrico Tröger <enrico.troeger@uvena.de>
......
......@@ -197,12 +197,12 @@ void vte_close(void)
{
g_free(vf);
/* free the vte widget before unloading vte module
* this prevents a segfault on X close window if the message window is hidden
* (patch from Nick Treleaven, thanks) */
* this prevents a segfault on X close window if the message window is hidden */
gtk_widget_destroy(vc->vte);
if (popup_menu_created) gtk_widget_destroy(vc->menu);
g_free(vc->font);
g_free(vc->emulation);
g_free(vc->shell);
g_free(vc->font);
g_free(vc->colour_back);
g_free(vc->colour_fore);
g_free(vc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment