diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-06-23 12:45:16 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-06-23 12:45:16 +0300 |
commit | 5ea4224acd6effc77359d42436de4804b86f1112 (patch) | |
tree | 9d4936e21342b71fd43de7cac311822677caad98 /debug.c | |
parent | 231cb5df34699fd98001e2e124d73da5d2f795f9 (diff) | |
parent | 44e29458a6355ad64e8d89676a441b224ce76cbc (diff) | |
download | egawk-5ea4224acd6effc77359d42436de4804b86f1112.tar.gz egawk-5ea4224acd6effc77359d42436de4804b86f1112.tar.bz2 egawk-5ea4224acd6effc77359d42436de4804b86f1112.zip |
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1371,8 +1371,7 @@ add_item(struct list_item *list, int type, NODE *symbol, char *pname) { struct list_item *d; - emalloc(d, struct list_item *, sizeof(struct list_item), "add_item"); - memset(d, 0, sizeof(struct list_item)); + ezalloc(d, struct list_item *, sizeof(struct list_item), "add_item"); d->commands.next = d->commands.prev = &d->commands; d->number = ++list->number; |