diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-08-19 23:48:18 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-08-19 23:48:18 +0200 |
commit | 24e4c90fa9de25bc5c6613b1217c20ab174b2516 (patch) | |
tree | c88d5cf77fe1de53f3341e548a7ef49393412829 | |
parent | 7169dc8912ca4d00608c636d18ec4817dead96f2 (diff) |
Don't free copies of fonts
-rw-r--r-- | src/wrap.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -558,6 +558,9 @@ static void copy_top_font(struct sc_font_stack *stack) stack->stack[stack->n_fonts] = stack->stack[stack->n_fonts-1]; } + /* This is a copy, so don't free it later */ + stack->stack[stack->n_fonts].free_font_on_pop = 0; + stack->n_fonts++; } |