Commit 05e78f98 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Plug some leaks.

2007-03-10  Matthias Clasen <mclasen@redhat.com>

        * tests/print-editor.c: Plug some leaks.



svn path=/trunk/; revision=17452
parent e643f1ee
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))
......
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