From 8be2f274b9f22ad0b679850e4dc40a9fe272dbb8 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sun, 21 Mar 2004 12:57:14 +0000 Subject: [project @ 2004-03-21 12:57:14 by bursa] Unschedule on nsgif_destroy(). svn path=/import/netsurf/; revision=642 --- riscos/gif.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/riscos/gif.c b/riscos/gif.c index ddd0856e0..b559268f8 100644 --- a/riscos/gif.c +++ b/riscos/gif.c @@ -405,9 +405,11 @@ void nsgif_redraw(struct content *c, long x, long y, -void nsgif_destroy(struct content *c) { +void nsgif_destroy(struct content *c) +{ /* Free all the associated memory buffers */ + schedule_remove(nsgif_animate, c); xfree(c->title); xfree(c->data.gif.sprite_area); xfree(c->data.gif.buffer_header); -- cgit v1.2.3