summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/board.c4
-rw-r--r--mbbsd/name.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 138b93a9..3ac9396c 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1,4 +1,4 @@
-/* $Id: board.c,v 1.74 2003/01/17 08:42:46 kcwu Exp $ */
+/* $Id: board.c,v 1.75 2003/01/17 08:49:34 kcwu Exp $ */
#include "bbs.h"
#define BRC_STRLEN 15 /* Length of board name */
#define BRC_MAXSIZE 24576
@@ -566,6 +566,8 @@ search_board()
for (num = 0; num < brdnum; num++)
AddNameList(nbrd[num].bh->brdname);
namecomplete(MSG_SELECT_BOARD, genbuf);
+ FreeNameList();
+ toplev = NULL;
for (num = 0; num < brdnum; num++)
if (!strcasecmp(nbrd[num].bh->brdname, genbuf))
diff --git a/mbbsd/name.c b/mbbsd/name.c
index cbd872d9..ef1a4c5f 100644
--- a/mbbsd/name.c
+++ b/mbbsd/name.c
@@ -1,4 +1,4 @@
-/* $Id: name.c,v 1.14 2002/07/22 19:02:00 in2 Exp $ */
+/* $Id: name.c,v 1.15 2003/01/17 08:49:34 kcwu Exp $ */
#include "bbs.h"
static word_t *current = NULL;
@@ -42,7 +42,7 @@ UserSubArray(char cwbuf[][IDLEN + 1], char cwlist[][IDLEN + 1],
return num;
}
-static void
+void
FreeNameList()
{
word_t *p, *temp;