sym_arr is of type struct symbol **. So in malloc we need sizeof(struct symbol *). The problem was indicated by coccinelle. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>master
parent
69d3226530
commit
0931ed3c0d
Loading…
Reference in new issue