Displaying 1 result from an estimated 1 matches for "2dab0be".
2007 Jul 25
0
2 commits - libswfdec/swfdec_as_context.c
...a29522caa7bab2f661d3b (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->...