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
This commit is contained in:
parent
606fef2b13
commit
40e4ab0dda
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user