diff options
Diffstat (limited to 'firmware/font.c')
-rw-r--r-- | firmware/font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/font.c b/firmware/font.c index 8f0808ba87..2a2975cbf2 100644 --- a/firmware/font.c +++ b/firmware/font.c @@ -525,7 +525,7 @@ int font_load_ex( const char *path, size_t buf_size, int glyphs ) font_id = open_slot; /* allocate mem */ - int handle = core_alloc_ex( NULL, + int handle = core_alloc_ex( bufsize + sizeof( struct buflib_alloc_data ), &buflibops ); if ( handle <= 0 ) |