summaryrefslogtreecommitdiffstats
path: root/mbbsd/calendar.c
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-15 19:48:11 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-15 19:48:11 +0800
commit997c8c9496b56a0fae3fc15730c3d37b6daa9e36 (patch)
treebd8820e85d880b769f9e6f2c82bc1d9e8f277928 /mbbsd/calendar.c
parentf56edcef27f508e17fc570d1ed111ea5c7ebf322 (diff)
downloadpttbbs-997c8c9496b56a0fae3fc15730c3d37b6daa9e36.tar
pttbbs-997c8c9496b56a0fae3fc15730c3d37b6daa9e36.tar.gz
pttbbs-997c8c9496b56a0fae3fc15730c3d37b6daa9e36.tar.bz2
pttbbs-997c8c9496b56a0fae3fc15730c3d37b6daa9e36.tar.lz
pttbbs-997c8c9496b56a0fae3fc15730c3d37b6daa9e36.tar.xz
pttbbs-997c8c9496b56a0fae3fc15730c3d37b6daa9e36.tar.zst
pttbbs-997c8c9496b56a0fae3fc15730c3d37b6daa9e36.zip
correcting Calendar function.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1984 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/calendar.c')
-rw-r--r--mbbsd/calendar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/calendar.c b/mbbsd/calendar.c
index 5cb644c2..7928f8a2 100644
--- a/mbbsd/calendar.c
+++ b/mbbsd/calendar.c
@@ -116,6 +116,7 @@ FreeEvent(event_t * e)
while (e) {
n = e->next;
+ free(e->content); /* from strdup() */
free(e);
e = n;
}