Bug 553241 – double freed pointer in lpr_write cause firefox3 crash

2008-09-25  Marek Kasik  <mkasik@redhat.com>

	Bug 553241 – double freed pointer in lpr_write cause firefox3 crash

	* modules/printbackends/lpr/gtkprintbackendlpr.c:
	The redundant freeing of memory was removed.

	Patch by Chris Wang

svn path=/trunk/; revision=21516
This commit is contained in:
Marek Kasik 2008-09-25 11:46:35 +00:00 committed by Marek Kašík
parent 23bcd6df88
commit f96d7b972b
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,12 @@
2008-09-25 Marek Kasik <mkasik@redhat.com>
Bug 553241 double freed pointer in lpr_write cause firefox3 crash
* modules/printbackends/lpr/gtkprintbackendlpr.c:
The redundant freeing of memory was removed.
Patch by Chris Wang
2008-09-25 Michael Natterer <mitch@imendio.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):

View File

@ -289,8 +289,6 @@ lpr_write (GIOChannel *source,
lpr_print_cb (GTK_PRINT_BACKEND_LPR (ps->backend),
error, user_data);
if (error)
g_error_free (error);
if (error != NULL)
{