X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpython%2Ftaglist.c;h=711817e168ffe6fac31d804d552299a111e19d59;hb=1db6d1ee4107fcceab86d2d8fe16c05983e320f8;hp=9caf3b2a216b9dbaab368b7dbd5f96517b314428;hpb=bb3dc0a7de867b3fd3b58d46f7ee69eeb11ccb5d;p=swftools.git diff --git a/lib/python/taglist.c b/lib/python/taglist.c index 9caf3b2..711817e 100644 --- a/lib/python/taglist.c +++ b/lib/python/taglist.c @@ -41,7 +41,7 @@ PyObject * taglist_new2(TAG*tag) nr = 0; t = tag; while(t) { - PyObject*newtag = tag_new2(tag, taglist->tagmap); + PyObject*newtag = tag_new2(t, taglist->tagmap); PyList_SET_ITEM(taglist->taglist,nr,newtag);Py_INCREF(newtag); if(swf_isDefiningTag(t)) { tagmap_add(taglist->tagmap, newtag); @@ -72,6 +72,7 @@ TAG* taglist_getTAGs(PyObject*self) tag = tag_getTAG(item, tag, taglist->tagmap); if(!firstTag) firstTag = tag; + mylog(" %08x(%d) taglist_getTAGs: added tag %08x", (int)self, self->ob_refcnt, tag); } return firstTag; }