gnome-web-photo r113 - trunk/src



Author: vuntz
Date: Fri Jul 25 09:55:50 2008
New Revision: 113
URL: http://svn.gnome.org/viewvc/gnome-web-photo?rev=113&view=rev

Log:
	Correctly initialize the GdkPixdata pointer so that it's always valid.
	Fix some crash (https://bugzilla.novell.com/show_bug.cgi?id=395920)


Modified:
   trunk/src/Writer.cpp

Modified: trunk/src/Writer.cpp
==============================================================================
--- trunk/src/Writer.cpp	(original)
+++ trunk/src/Writer.cpp	Fri Jul 25 09:55:50 2008
@@ -505,6 +505,7 @@
 				 PRUint32 aSize)
 : Writer(aEmbed, aFilename)
 , mSize(aSize)
+, mData(NULL)
 {
   LOG ("ThumbnailWriter ctor\n");
 



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