Bug 420786 - "Setting image as desktop background causes a crash in Linux" [p=sylvain.pasche@gmail.com (Sylvain Pasche) r=gavin a1.9b5=beltzner]
This commit is contained in:
@@ -365,7 +365,6 @@ WriteImage(const nsCString& aPath, gfxIImageFrame* aImage)
|
||||
|
||||
gboolean res = gdk_pixbuf_save(pixbuf, aPath.get(), "png", NULL, NULL);
|
||||
|
||||
aImage->UnlockImageData();
|
||||
g_object_unref(pixbuf);
|
||||
return res ? NS_OK : NS_ERROR_FAILURE;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user