set firstTag to zero in swf_FreeTags
[swftools.git] / lib / rfxswf.c
index f67d951..c91f339 100644 (file)
@@ -1395,6 +1395,7 @@ void swf_FreeTags(SWF * swf)                 // Frees all malloc'ed memory for t
     free(t);
     t = tnew;
   }
+  swf->firstTag = 0;
 }
 
 // include advanced functions