svnno****@sourc*****
svnno****@sourc*****
Tue Apr 10 16:44:42 JST 2007
Revision: 3160 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3160 Author: kous Date: 2007-04-10 16:44:42 +0900 (Tue, 10 Apr 2007) Log Message: ----------- * module/embed/gecko/kz-mozthumbnailcreator.cpp (kz_moz_thumbnail_creator_create_thumbnail): plugged a memory leak. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/module/embed/gecko/kz-mozthumbnailcreator.cpp Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2007-04-10 07:42:57 UTC (rev 3159) +++ kazehakase/trunk/ChangeLog 2007-04-10 07:44:42 UTC (rev 3160) @@ -1,3 +1,8 @@ +2007-04-10 Kouhei Sutou <kou****@cozmi*****> + + * module/embed/gecko/kz-mozthumbnailcreator.cpp + (kz_moz_thumbnail_creator_create_thumbnail): plugged a memory leak. + 2007-04-09 Kouhei Sutou <kou****@cozmi*****> * module/embed/ie/kz-ie.cpp: include <objbase.h>. Modified: kazehakase/trunk/module/embed/gecko/kz-mozthumbnailcreator.cpp =================================================================== --- kazehakase/trunk/module/embed/gecko/kz-mozthumbnailcreator.cpp 2007-04-10 07:42:57 UTC (rev 3159) +++ kazehakase/trunk/module/embed/gecko/kz-mozthumbnailcreator.cpp 2007-04-10 07:44:42 UTC (rev 3160) @@ -360,7 +360,8 @@ EGG_PIXBUF_THUMB_LARGE, creator); - print->Print(options, aProgress); + if (print->Print(options, aProgress) != NS_OK) + delete aProgress; break; }