From ba91377e52b1ef5c2588f9ada8c962e766a111ee Mon Sep 17 00:00:00 2001 From: "C. Guy Yarvin" Date: Wed, 24 Sep 2014 01:18:42 -0700 Subject: [PATCH] Actually fix it. --- g/e.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g/e.c b/g/e.c index 14b1a8f07..f9c3d7cce 100644 --- a/g/e.c +++ b/g/e.c @@ -407,7 +407,7 @@ _ce_patch_compose(void) c3_w i_w, pgc_w; _ce_patch_create(pat_u); - pat_u->con_u = malloc(sizeof(u3_cs_control) + (pgs_w + sizeof(u3_cs_line))); + pat_u->con_u = malloc(sizeof(u3_cs_control) + (pgs_w * sizeof(u3_cs_line))); pgc_w = 0; for ( i_w = 0; i_w < nor_w; i_w++ ) {