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:
Matthias Clasen 2007-03-10 05:52:29 +00:00 committed by Matthias Clasen
parent e643f1ee89
commit 05e78f9805
2 changed files with 8 additions and 0 deletions

View File

@ -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):

View File

@ -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))