X-Git-Url: https://git.llucax.com/software/eventxx.git/blobdiff_plain/74586d2d5468117b218816eea646470c02a469f9..e956850cb32b3964152704e83db15fd93b157e43:/eventxx diff --git a/eventxx b/eventxx index 93e2669..d2846ec 100644 --- a/eventxx +++ b/eventxx @@ -537,6 +537,8 @@ struct dispatcher #ifdef EVENT_BASE_FREE_FIX ~dispatcher() throw() { event_base_free(_event_base); } +#else +#warning "The dispatcher class *will* leak memory because of a libevent bug, see http://www.mail-archive.com/libevent-users@monkey.org/msg00110.html for more info an a patch. If you already have this patch, please -DEVENT_BASE_FREE_FIX to your compiler to make this message disappear and really free the dispatcher memory using event_base_free()." #endif /**