Fix field initialization

This commit is contained in:
Augusto Gunsch 2020-11-01 19:22:00 -03:00
parent 5fc441477e
commit ae2e7f7362
No known key found for this signature in database
GPG Key ID: F7EEFE29825C72DC
1 changed files with 1 additions and 0 deletions

View File

@ -404,6 +404,7 @@ struct Translator* mktranslator(struct lnarray* lns, char* fname) {
struct Translator* t = (struct Translator*)malloc(sizeof(struct Translator));
t->asmsize = sizeof(struct asmln*)*(lns->count * 15);
t->asmind = 0;
t->compcount = 0;
t->asmlns = (struct asmln**)malloc(t->asmsize);
t->tocleanind = 0;