Commit f96d7b97 authored by Marek Kasik's avatar Marek Kasik Committed by Marek Kašík
Browse files

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
parent 23bcd6df
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> 2008-09-25 Michael Natterer <mitch@imendio.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize): * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
......
...@@ -289,8 +289,6 @@ lpr_write (GIOChannel *source, ...@@ -289,8 +289,6 @@ lpr_write (GIOChannel *source,
lpr_print_cb (GTK_PRINT_BACKEND_LPR (ps->backend), lpr_print_cb (GTK_PRINT_BACKEND_LPR (ps->backend),
error, user_data); error, user_data);
if (error)
g_error_free (error);
if (error != NULL) if (error != NULL)
{ {
......
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