[Swfdec] 2 commits - libswfdec/swfdec_as_context.c

Benjamin Otte company at kemper.freedesktop.org
Wed Jul 25 02:40:42 PDT 2007


 libswfdec/swfdec_as_context.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

New commits:
diff-tree f1909bbdbc7a34c8f72909f7c29e24a0c1a78d33 (from parents)
Merge: 11b24ad9eb00881bc85a29522caa7bab2f661d3b a3c1cdc6959557e10b6c0b2cfd0fdd87967db00c
Author: Benjamin Otte <otte at gnome.org>
Date:   Tue Jul 24 13:41:39 2007 +0200

    Merge branch 'master' of ssh://company@git.freedesktop.org/git/swfdec/swfdec

diff-tree 11b24ad9eb00881bc85a29522caa7bab2f661d3b (from 7cc9628502fc44902e0fbe812569c533b87a02b2)
Author: Benjamin Otte <otte at gnome.org>
Date:   Tue Jul 24 12:05:17 2007 +0200

    properly unwind frames on error (fixes #11692)

diff --git a/libswfdec/swfdec_as_context.c b/libswfdec/swfdec_as_context.c
index 227444e..2dab0be 100644
--- a/libswfdec/swfdec_as_context.c
+++ b/libswfdec/swfdec_as_context.c
@@ -809,7 +809,8 @@ start:
   }
 
 error:
-  context->frame = context->last_frame;
+  while (context->frame != context->last_frame)
+    swfdec_as_frame_return (context->frame, NULL);
 out:
   context->last_frame = last_frame;
   return;


More information about the Swfdec mailing list