diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-25 00:34:16 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-25 00:34:16 +0800 |
commit | 78fb3360dce649e364996f22e4841c2e550fb9f7 (patch) | |
tree | 06b7d361d57a01953089a5d51bb9707e006ffa50 | |
parent | 87303c58e27ea91f1aeaf5afbdebfa110e3ce4cb (diff) | |
download | pttbbs-78fb3360dce649e364996f22e4841c2e550fb9f7.tar pttbbs-78fb3360dce649e364996f22e4841c2e550fb9f7.tar.gz pttbbs-78fb3360dce649e364996f22e4841c2e550fb9f7.tar.bz2 pttbbs-78fb3360dce649e364996f22e4841c2e550fb9f7.tar.lz pttbbs-78fb3360dce649e364996f22e4841c2e550fb9f7.tar.xz pttbbs-78fb3360dce649e364996f22e4841c2e550fb9f7.tar.zst pttbbs-78fb3360dce649e364996f22e4841c2e550fb9f7.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@196 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/board.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <stdio.h> #include <stdlib.h> #include <string.h> @@ -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() { |