diff options
Diffstat (limited to 'src/common/compat_libevent.c')
-rw-r--r-- | src/common/compat_libevent.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/compat_libevent.c b/src/common/compat_libevent.c index a524c98318..d3b9eb3afa 100644 --- a/src/common/compat_libevent.c +++ b/src/common/compat_libevent.c @@ -187,6 +187,8 @@ tor_libevent_initialize(tor_libevent_cfg *torcfg) #endif the_event_base = event_base_new_with_config(cfg); + + event_config_free(cfg); } #else the_event_base = event_init(); |