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:
2008-03-20 23:48:36 -07:00
parent 3620e6b5de
commit dec527c3a5
4 changed files with 153 additions and 1 deletions

View File

@@ -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