From 1a5b039115fa0a5bfd1e3811f520d8d8cb99394f Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 12 Apr 2010 22:39:21 +0000 Subject: Fix double free of title svn path=/trunk/netsurf/; revision=10386 --- riscos/artworks.c | 1 - riscos/draw.c | 1 - riscos/sprite.c | 1 - 3 files changed, 3 deletions(-) diff --git a/riscos/artworks.c b/riscos/artworks.c index b64811014..385ec2b41 100644 --- a/riscos/artworks.c +++ b/riscos/artworks.c @@ -215,7 +215,6 @@ bool artworks_convert(struct content *c) void artworks_destroy(struct content *c) { - free(c->title); free(c->data.artworks.block); } diff --git a/riscos/draw.c b/riscos/draw.c index 29ee9abb0..fcde5a763 100644 --- a/riscos/draw.c +++ b/riscos/draw.c @@ -97,7 +97,6 @@ bool draw_convert(struct content *c) void draw_destroy(struct content *c) { - free(c->title); } diff --git a/riscos/sprite.c b/riscos/sprite.c index b60a42d5a..ba7f78a85 100644 --- a/riscos/sprite.c +++ b/riscos/sprite.c @@ -104,7 +104,6 @@ void sprite_destroy(struct content *c) { /* do not free c->data.sprite.data at it is simply a pointer to * 4 bytes beforec->source_data. */ - free(c->title); } -- cgit v1.2.3