Another leak

This commit is contained in:
Matthias Clasen 2006-03-26 06:15:51 +00:00
parent 24199c0f56
commit f9d99fe6ed
3 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
2006-03-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_get_property):
* gtk/gtksettings.c (gtk_settings_get_property):
* gtk/gtkuimanager.c (gtk_ui_manager_get_property): Fix leaks.

View File

@ -1,5 +1,6 @@
2006-03-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_get_property):
* gtk/gtksettings.c (gtk_settings_get_property):
* gtk/gtkuimanager.c (gtk_ui_manager_get_property): Fix leaks.

View File

@ -514,7 +514,7 @@ gtk_text_buffer_get_property (GObject *object,
gtk_text_buffer_get_start_iter (text_buffer, &start);
gtk_text_buffer_get_end_iter (text_buffer, &end);
g_value_set_string (value,
g_value_take_string (value,
gtk_text_buffer_get_text (text_buffer,
&start, &end, FALSE));
break;