From 78fb3360dce649e364996f22e4841c2e550fb9f7 Mon Sep 17 00:00:00 2001 From: ptt Date: Fri, 24 May 2002 16:34:16 +0000 Subject: *** empty log message *** git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@196 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mbbsd/board.c') diff --git a/mbbsd/board.c b/mbbsd/board.c index 48180836..e5996ec5 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1,4 +1,4 @@ -/* $Id: board.c,v 1.8 2002/05/24 16:21:11 ptt Exp $ */ +/* $Id: board.c,v 1.9 2002/05/24 16:34:16 ptt Exp $ */ #include #include #include @@ -1029,18 +1029,18 @@ static void choose_board(int newflag) { } tmp=currutmp->brc_id; currutmp->brc_id=ptr->bid; + free(nbrd); choose_board(0); currmode = currmodetmp; /* 離開版版後就把權限拿掉喔 */ num=tmp1; class_bid = bidtmp; currutmp->brc_id=tmp; brdnum = -1; - free(nbrd); } } } } while(ch != 'q'); - if(nbrd) free(nbrd); + free(nbrd); } int root_board() { -- cgit v1.2.3