svnno****@sourc*****
svnno****@sourc*****
2008年 10月 3日 (金) 17:47:52 JST
Revision: 56 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=swfed&view=rev&rev=56 Author: yoya Date: 2008-10-03 17:47:52 +0900 (Fri, 03 Oct 2008) Log Message: ----------- CWS 形式を受け取り zlib 伸張した際に失敗するとメモリリークするので修正 Modified Paths: -------------- src/swf_object.c -------------- next part -------------- Modified: src/swf_object.c =================================================================== --- src/swf_object.c 2008-10-03 08:12:52 UTC (rev 55) +++ src/swf_object.c 2008-10-03 08:47:52 UTC (rev 56) @@ -68,6 +68,7 @@ } else { fprintf(stderr, "swf_object_input: uncompress failed by unknown reason\n"); } + free(new_buff); bitstream_close(bs); return 1; // FAILURE }