summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2020-02-27 17:41:48 +0100
committerantirez <antirez@gmail.com>2020-02-27 18:02:30 +0100
commitea697b6345830f24811a293c9689a65bc438015f (patch)
tree40ab9dcb5f1eb285275de70a2d457fe59807e9b3
parentdd4798802c82ce674be00d908a66903f46dda5a6 (diff)
downloadredis-ea697b6345830f24811a293c9689a65bc438015f.tar.gz
Improve aeDeleteEventLoop() top comment grammar.
-rw-r--r--src/ae.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ae.c b/src/ae.c
index 248096e1f..d2248fe5c 100644
--- a/src/ae.c
+++ b/src/ae.c
@@ -135,7 +135,8 @@ void aeDeleteEventLoop(aeEventLoop *eventLoop) {
aeApiFree(eventLoop);
zfree(eventLoop->events);
zfree(eventLoop->fired);
- /* Free time event. */
+
+ /* Free the time events list. */
aeTimeEvent *next_te, *te = eventLoop->timeEventHead;
while (te) {
next_te = te->next;