Skip to content

Commit ae6deb7

Browse files
committed
really fixed memory issue
1 parent 3d84f6c commit ae6deb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nuklear_font.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,7 @@ nk_font_atlas_bake(struct nk_font_atlas *atlas, int *width, int *height,
11791179
tmp = atlas->temporary.alloc(atlas->temporary.userdata,0, tmp_size);
11801180
NK_ASSERT(tmp);
11811181
if (!tmp) goto failed;
1182-
memset(tmp,0,tmp_size);
1182+
memset(tmp,0,tmp_size);
11831183

11841184
/* allocate glyph memory for all fonts */
11851185
baker = nk_font_baker(tmp, atlas->glyph_count, atlas->font_num, &atlas->temporary);

0 commit comments

Comments
 (0)