mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 05:50:10 +00:00
Plug some leaks.
2007-03-10 Matthias Clasen <mclasen@redhat.com> * tests/print-editor.c: Plug some leaks. svn path=/trunk/; revision=17452
This commit is contained in:
parent
e643f1ee89
commit
05e78f9805
@ -1,3 +1,7 @@
|
||||
2007-03-10 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* tests/print-editor.c: Plug some leaks.
|
||||
|
||||
2007-03-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_end_selection_drag):
|
||||
|
@ -363,6 +363,8 @@ draw_page (GtkPrintOperation *operation,
|
||||
}
|
||||
while (i < end &&
|
||||
pango_layout_iter_next_line (iter));
|
||||
|
||||
pango_layout_iter_free (iter);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -635,6 +637,8 @@ print_done (GtkPrintOperation *op,
|
||||
|
||||
g_free (print_data->text);
|
||||
g_free (print_data->font);
|
||||
g_list_free (print_data->page_breaks);
|
||||
g_object_unref (print_data->layout);
|
||||
g_free (print_data);
|
||||
|
||||
if (!gtk_print_operation_is_finished (op))
|
||||
|
Loading…
Reference in New Issue
Block a user