summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-03-21 12:57:14 +0000
committerJames Bursa <james@netsurf-browser.org>2004-03-21 12:57:14 +0000
commit8be2f274b9f22ad0b679850e4dc40a9fe272dbb8 (patch)
treed3df3436f1365f488e3b675846f39289cc44b54c
parent15537fb20d508181d2573b6e593c89870a37e4d9 (diff)
downloadnetsurf-8be2f274b9f22ad0b679850e4dc40a9fe272dbb8.tar.gz
netsurf-8be2f274b9f22ad0b679850e4dc40a9fe272dbb8.tar.bz2
[project @ 2004-03-21 12:57:14 by bursa]
Unschedule on nsgif_destroy(). svn path=/import/netsurf/; revision=642
-rw-r--r--riscos/gif.c4
1 files changed, 3 insertions, 1 deletions
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);