git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added tests for increment_i
[swftools.git]
/
lib
/
python
/
tag.c
diff --git
a/lib/python/tag.c
b/lib/python/tag.c
index
bae858d
..
f495499
100644
(file)
--- a/
lib/python/tag.c
+++ b/
lib/python/tag.c
@@
-83,7
+83,7
@@
static void tag_dealloc(PyObject * self)
tag->internals.data = 0;
}
if(tag->internals.tag) {
tag->internals.data = 0;
}
if(tag->internals.tag) {
- swf_DeleteTag(tag->internals.tag);
+ swf_DeleteTag(0, tag->internals.tag);
tag->internals.tag = 0;
}
Py_DECREF(tag->internals.tagmap);
tag->internals.tag = 0;
}
Py_DECREF(tag->internals.tagmap);
@@
-229,7
+229,7
@@
static int tag_setattr(PyObject * _self, char* a, PyObject * o)
/* a setattr will almost certainly change the tag data,
so delete the tag */
if(self->internals.tag) {
/* a setattr will almost certainly change the tag data,
so delete the tag */
if(self->internals.tag) {
- swf_DeleteTag(self->internals.tag);
+ swf_DeleteTag(0, self->internals.tag);
self->internals.tag = 0;
}
if(self->internals.setattr) {
self->internals.tag = 0;
}
if(self->internals.setattr) {