Commit 77e00320 authored by Massimo Cora's avatar Massimo Cora

use g_free instead of g_object_unref to free object gchar * data (fixes

	* plugins/class-inheritance/class-inherit.c
	(cls_inherit_draw_expanded_node):
	
	use g_free instead of g_object_unref to free object gchar * data 
	(fixes crash in class inheritance plugin)

svn path=/trunk/; revision=4633
parent 1c22d4c4
2009-01-24 Jens Georg <mail@jensge.org>
* plugins/class-inheritance/class-inherit.c
(cls_inherit_draw_expanded_node):
use g_free instead of g_object_unref to free object gchar * data
(fixes crash in class inheritance plugin)
2009-01-24 Massimo Cora' <mcora@svn.gnome.org>
* plugins/symbol-db/plugin.c (on_project_element_added),
......@@ -663,7 +663,7 @@ cls_inherit_draw_expanded_node (AnjutaClassInheritance *plugin, Agnode_t *graph_
file = g_file_get_path (gfile);
g_object_set_data_full (G_OBJECT (node_data->canvas_item), "__filepath",
file, g_object_unref);
file, g_free);
g_object_set_data (G_OBJECT (node_data->canvas_item), "__line",
GINT_TO_POINTER (line));
......
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