Fix bug 344518
This commit is contained in:
parent
04e14ecf07
commit
a803836657
3 changed files with 11 additions and 1 deletions
|
|
@ -1,5 +1,9 @@
|
|||
2006-06-10 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkprintoperation-unix.c (page_setup_data_free):
|
||||
Check if rdata->page_setup is set before unreffing it.
|
||||
(#344518, Christian Persch)
|
||||
|
||||
* gtk/gtkprintoperation.h: Remove an extra comma. (#344528,
|
||||
Elijah Newren)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
2006-06-10 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkprintoperation-unix.c (page_setup_data_free):
|
||||
Check if rdata->page_setup is set before unreffing it.
|
||||
(#344518, Christian Persch)
|
||||
|
||||
* gtk/gtkprintoperation.h: Remove an extra comma. (#344528,
|
||||
Elijah Newren)
|
||||
|
||||
|
|
|
|||
|
|
@ -693,7 +693,9 @@ page_setup_data_free (gpointer data)
|
|||
{
|
||||
PageSetupResponseData *rdata = data;
|
||||
|
||||
g_object_unref (rdata->page_setup);
|
||||
if (rdata->page_setup)
|
||||
g_object_unref (rdata->page_setup);
|
||||
|
||||
g_free (rdata);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue