summaryrefslogtreecommitdiff
path: root/frontends/amiga/font_bullet.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-11-19 20:44:17 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-11-19 20:44:17 +0000
commita8bd2af7103bca7145f8c566ec46f27e2be8d182 (patch)
tree2c14d8d3402e7799b161852676dc8698310ed59f /frontends/amiga/font_bullet.c
parent81a7e0cbe9851c2388e53950a6db3e75b1156ead (diff)
downloadnetsurf-a8bd2af7103bca7145f8c566ec46f27e2be8d182.tar.gz
netsurf-a8bd2af7103bca7145f8c566ec46f27e2be8d182.tar.bz2
More allocvec/malloc replacements
Diffstat (limited to 'frontends/amiga/font_bullet.c')
-rw-r--r--frontends/amiga/font_bullet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/amiga/font_bullet.c b/frontends/amiga/font_bullet.c
index bb0adb5d0..fd41c29a2 100644
--- a/frontends/amiga/font_bullet.c
+++ b/frontends/amiga/font_bullet.c
@@ -363,7 +363,7 @@ static struct ami_font_cache_node *ami_font_open(const char *font, bool critical
{
LOG("Requested font not found: %s", font);
if(critical == true) amiga_warn_user("CompError", font);
- FreeVec(nodedata);
+ free(nodedata);
return NULL;
}
@@ -601,7 +601,7 @@ static inline int32 ami_font_plot_glyph(struct OutlineFont *ofont, struct RastPo
TAG_DONE);
#else
/* On OS3 the glyph needs to be in chip RAM */
- void *chip_glyph = AllocVec(glyph->glm_BMModulo * glyph->glm_BMRows, MEMF_CHIP);
+ void *chip_glyph = ami_memory_chip_alloc(glyph->glm_BMModulo * glyph->glm_BMRows);
if(chip_glyph != NULL) {
CopyMem(glyphbm, chip_glyph, glyph->glm_BMModulo * glyph->glm_BMRows);
@@ -612,7 +612,7 @@ static inline int32 ami_font_plot_glyph(struct OutlineFont *ofont, struct RastPo
y - glyph->glm_Y0 + glyph->glm_BlackTop,
glyph->glm_BlackWidth, glyph->glm_BlackHeight);
- FreeVec(chip_glyph);
+ ami_memory_chip_free(chip_glyph);
}
#endif
}