diff options
Diffstat (limited to 'lib/seqmap.c')
-rw-r--r-- | lib/seqmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/seqmap.c b/lib/seqmap.c index ae00bc6..c50d848 100644 --- a/lib/seqmap.c +++ b/lib/seqmap.c @@ -1,5 +1,5 @@ /* This file is part of Eclat. - Copyright (C) 2012-2015 Sergey Poznyakoff. + Copyright (C) 2012-2018 Sergey Poznyakoff. Eclat is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -71,7 +71,7 @@ seqmap_config(int dbg, struct grecs_node *node, void *data) struct seqmap *seqmap, **return_seqmap = data; int i; - seqmap = grecs_malloc(sizeof(*seqmap)); + seqmap = grecs_zalloc(sizeof(*seqmap)); for (i = 0; seqmap_kw[i].ident; i++) seqmap_kw[i].varptr = seqmap; if (grecs_tree_process(node->down, seqmap_kw)) { |