From b3f41894a7bede7d474158daae14560c88b1e3b4 Mon Sep 17 00:00:00 2001 From: kcwu Date: Sun, 27 Feb 2005 19:14:22 +0000 Subject: MALLOC & FREE should be paired git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2561 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd/board.c') diff --git a/mbbsd/board.c b/mbbsd/board.c index 219ca185..3fb53483 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -283,7 +283,7 @@ load_boards(char *key) } #endif else { // general case - nbrd = (boardstat_t *) MALLOC(sizeof(boardstat_t) * numboards); + nbrd = (boardstat_t *) malloc(sizeof(boardstat_t) * numboards); for (i = 0; i < numboards; i++) { n = SHM->bsorted[type][i]; if (n<0 || (bptr = &bcache[n]) == NULL) -- cgit v1.2.3