From 3d2d003e23d123cfa63f22dfc2d8753d8de5c383 Mon Sep 17 00:00:00 2001 From: kcwu Date: Sat, 18 Jan 2003 18:10:07 +0000 Subject: fix bug introduced in reversion 1.64 forget change pointer offset git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@630 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mbbsd/board.c b/mbbsd/board.c index bf7c6cab..44241fcc 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1,4 +1,4 @@ -/* $Id: board.c,v 1.77 2003/01/18 11:54:19 in2 Exp $ */ +/* $Id: board.c,v 1.78 2003/01/18 18:10:07 kcwu Exp $ */ #include "bbs.h" #define BRC_STRLEN 15 /* Length of board name */ #define BRC_MAXSIZE 24576 @@ -354,7 +354,7 @@ save_brdbuf() close(fd); } #ifdef MEM_CHECK - free(&favbuf[-1]); + free(&favbuf[-sizeof(int)]); #else free(favbuf); #endif -- cgit v1.2.3