gtk+ r21517 - in branches/gtk-2-14: . modules/printbackends/lpr



Author: mkasik
Date: Thu Sep 25 11:57:56 2008
New Revision: 21517
URL: http://svn.gnome.org/viewvc/gtk+?rev=21517&view=rev

Log:
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


Modified:
   branches/gtk-2-14/ChangeLog
   branches/gtk-2-14/modules/printbackends/lpr/gtkprintbackendlpr.c

Modified: branches/gtk-2-14/modules/printbackends/lpr/gtkprintbackendlpr.c
==============================================================================
--- branches/gtk-2-14/modules/printbackends/lpr/gtkprintbackendlpr.c	(original)
+++ branches/gtk-2-14/modules/printbackends/lpr/gtkprintbackendlpr.c	Thu Sep 25 11:57:56 2008
@@ -289,8 +289,6 @@
       lpr_print_cb (GTK_PRINT_BACKEND_LPR (ps->backend), 
 		    error, user_data);
 
-      if (error)
-	g_error_free (error);
 
       if (error != NULL)
         {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]