dovecot-2.0: ioloop: Don't leak memory when detecting a leaked t...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Dec 3 09:12:26 EET 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/8fa2c23e9256
changeset: 12500:8fa2c23e9256
user: Timo Sirainen <tss at iki.fi>
date: Fri Dec 03 07:12:20 2010 +0000
description:
ioloop: Don't leak memory when detecting a leaked timeout.
diffstat:
src/lib/ioloop.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 23eb7ec9c37d -r 8fa2c23e9256 src/lib/ioloop.c
--- a/src/lib/ioloop.c Fri Dec 03 07:06:34 2010 +0000
+++ b/src/lib/ioloop.c Fri Dec 03 07:12:20 2010 +0000
@@ -468,7 +468,7 @@
struct timeout *to = (struct timeout *)item;
i_warning("Timeout leak: %p", (void *)to->callback);
- i_free(to);
+ timeout_free(to);
}
priorityq_deinit(&ioloop->timeouts);
More information about the dovecot-cvs
mailing list