From 6637068d013c514301ca5ed268f233d727b87f08 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Mon, 12 Oct 2009 20:11:38 -0700 Subject: [PATCH] trivial fix in action handling --- lib/modules/swfaction.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/modules/swfaction.c b/lib/modules/swfaction.c index f1258bd..e16b3a4 100644 --- a/lib/modules/swfaction.c +++ b/lib/modules/swfaction.c @@ -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); -- 1.7.10.4