summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--ChangeLog.pre-2-103
-rw-r--r--gtk/gtkprintunixdialog.c2
3 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4d7952a00..83b3802ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2006-05-03 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkprintunixdialog.c (draw_page_cb): Don't leak the
+ cairo context here. (#340522, Christian Persch)
+
* gtk/gtkprintoperation-unix.c (unix_finish_send): Don't
use gtk_dialog_run for the error dialog, and improve the
dialog in other ways. (#340510, Christian Persch)
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 4d7952a00..83b3802ca 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,5 +1,8 @@
2006-05-03 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkprintunixdialog.c (draw_page_cb): Don't leak the
+ cairo context here. (#340522, Christian Persch)
+
* gtk/gtkprintoperation-unix.c (unix_finish_send): Don't
use gtk_dialog_run for the error dialog, and improve the
dialog in other ways. (#340510, Christian Persch)
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c
index b390035fd..9ac102f99 100644
--- a/gtk/gtkprintunixdialog.c
+++ b/gtk/gtkprintunixdialog.c
@@ -1920,6 +1920,8 @@ draw_page_cb (GtkWidget *widget,
}
}
+ cairo_destroy (cr);
+
return TRUE;
}