diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-02-28 03:14:22 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-02-28 03:14:22 +0800 |
commit | b3f41894a7bede7d474158daae14560c88b1e3b4 (patch) | |
tree | 7b08c20b3af557045b4ec89e988cb5f18fcf0a85 | |
parent | 586110689d0b390fd08cba1bdddbbe3e0ed1fab3 (diff) | |
download | pttbbs-b3f41894a7bede7d474158daae14560c88b1e3b4.tar pttbbs-b3f41894a7bede7d474158daae14560c88b1e3b4.tar.gz pttbbs-b3f41894a7bede7d474158daae14560c88b1e3b4.tar.bz2 pttbbs-b3f41894a7bede7d474158daae14560c88b1e3b4.tar.lz pttbbs-b3f41894a7bede7d474158daae14560c88b1e3b4.tar.xz pttbbs-b3f41894a7bede7d474158daae14560c88b1e3b4.tar.zst pttbbs-b3f41894a7bede7d474158daae14560c88b1e3b4.zip |
MALLOC & FREE should be paired
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2561 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |