trivial fix in action handling
authorMatthias Kramm <kramm@quiss.org>
Tue, 13 Oct 2009 03:11:38 +0000 (20:11 -0700)
committerMatthias Kramm <kramm@quiss.org>
Tue, 13 Oct 2009 03:11:38 +0000 (20:11 -0700)
lib/modules/swfaction.c

index f1258bd..e16b3a4 100644 (file)
@@ -208,7 +208,9 @@ void swf_ActionFree(ActionTAG*action)
 
 void swf_ActionSet(TAG*tag, ActionTAG*action)
 {
-    action=action->parent;
+    if(action) {
+       action=action->parent;
+    }
     while(action)
     {
        swf_SetU8(tag, action->op);