Revision: 1130 http://svn.sourceforge.net/geany/?rev=1130&view=rev Author: ntrel Date: 2006-12-20 07:43:01 -0800 (Wed, 20 Dec 2006)
Log Message: ----------- Stop Valgrind complaining about a vc->emulation leak.
Modified Paths: -------------- trunk/ChangeLog trunk/src/vte.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-12-20 10:47:01 UTC (rev 1129) +++ trunk/ChangeLog 2006-12-20 15:43:01 UTC (rev 1130) @@ -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
Modified: trunk/src/vte.c =================================================================== --- trunk/src/vte.c 2006-12-20 10:47:01 UTC (rev 1129) +++ trunk/src/vte.c 2006-12-20 15:43:01 UTC (rev 1130) @@ -197,12 +197,12 @@ { 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->emulation); + g_free(vc->shell); g_free(vc->font); - g_free(vc->emulation); g_free(vc->colour_back); g_free(vc->colour_fore); g_free(vc);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.