--- libaitcfg/src/parse.c 2008/10/13 17:29:18 1.1.1.1.2.3 +++ libaitcfg/src/parse.c 2009/05/25 07:43:51 1.1.1.1.2.4 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: parse.c,v 1.1.1.1.2.3 2008/10/13 17:29:18 misho Exp $ +* $Id: parse.c,v 1.1.1.1.2.4 2009/05/25 07:43:51 misho Exp $ * *************************************************************************/ #include "global.h" @@ -89,6 +89,7 @@ int ReadConfig(FILE *f, sl_config * __restrict cfg) LOGERR; return -1; } else { + memset(av, 0, sizeof(struct tagPair)); // added new element av->sle_next = cfg->slh_first; cfg->slh_first = av;