OSDN Git Service

replaceTagContentsByCID ¤Ç seg.fault ¤¹¤ëÉÔ¶ñ¹ç¤Î½¤Àµ¡£
authorYoshihiro Yamazaki <yoya@awm.jp>
Wed, 13 Jul 2011 09:38:48 +0000 (18:38 +0900)
committerYoshihiro Yamazaki <yoya@awm.jp>
Wed, 13 Jul 2011 09:38:48 +0000 (18:38 +0900)
¸Å¤¤¥¿¥°detail¤òºï½ü¤¹¤ë¤Ä¤â¤ê¤Ç¥¿¥°¼«ÂΤòºï½ü¤·¤Æ¡¢¤½¤Î¸å¡¢free ¤Ê¥¢¥É¥ì¥¹¤Ç wild ¥Ý¥¤¥ó¥¿¥¢¥¯¥»¥¹È¯À¸¤·¤ÆÍî¤Á¤ë¡£

src/swf_object.c

index 28fc663..9ae5da7 100644 (file)
@@ -422,7 +422,7 @@ swf_object_replace_tagcontents_bycid(swf_object_t *swf, int cid,
     tag = swf_object_search_tag_bycid(swf, cid);
     if (tag) {
         if (tag->detail) {
-            swf_tag_destroy(tag);
+            swf_tag_destroy_detail(tag);
             tag->detail = NULL;
         }
         if (tag->data) {