diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-11-19 20:44:17 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-11-19 20:44:17 +0000 |
commit | a8bd2af7103bca7145f8c566ec46f27e2be8d182 (patch) | |
tree | 2c14d8d3402e7799b161852676dc8698310ed59f /frontends/amiga/font_cache.c | |
parent | 81a7e0cbe9851c2388e53950a6db3e75b1156ead (diff) | |
download | netsurf-a8bd2af7103bca7145f8c566ec46f27e2be8d182.tar.gz netsurf-a8bd2af7103bca7145f8c566ec46f27e2be8d182.tar.bz2 |
More allocvec/malloc replacements
Diffstat (limited to 'frontends/amiga/font_cache.c')
-rw-r--r-- | frontends/amiga/font_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/amiga/font_cache.c b/frontends/amiga/font_cache.c index 08c2fe196..3d8330979 100644 --- a/frontends/amiga/font_cache.c +++ b/frontends/amiga/font_cache.c @@ -158,7 +158,7 @@ struct ami_font_cache_node *ami_font_cache_alloc_entry(const char *font) uint32 hash = XXH32(font, strlen(font), 0); nodedata = (struct ami_font_cache_node *)InsertSkipNode(ami_font_cache_list, (APTR)hash, sizeof(struct ami_font_cache_node)); #else - nodedata = AllocVecTagList(sizeof(struct ami_font_cache_node), NULL); + nodedata = malloc(sizeof(struct ami_font_cache_node)); #endif GetSysTime(&nodedata->lastused); |