Clear msgdata where it is unavailable.

This commit is contained in:
Nicholas Marriott
2008-06-02 18:23:37 +00:00
parent c7243b73cb
commit f97db61439
3 changed files with 6 additions and 4 deletions

3
cfg.c
View File

@ -1,4 +1,4 @@
/* $Id: cfg.c,v 1.1 2008-06-02 18:08:16 nicm Exp $ */
/* $Id: cfg.c,v 1.2 2008-06-02 18:23:37 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@ -121,6 +121,7 @@ load_cfg(const char *path, char **cause)
goto error;
}
ctx.msgdata = NULL;
ctx.cursession = NULL;
ctx.curclient = NULL;