From: Tobias Brunner Date: Tue, 15 May 2012 09:37:07 +0000 (+0200) Subject: Free name of application using libcharon. X-Git-Tag: 5.0.0~265 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b3089ab74c6090970a4bb6334725f47ce7dc362b;p=thirdparty%2Fstrongswan.git Free name of application using libcharon. --- diff --git a/src/libcharon/daemon.c b/src/libcharon/daemon.c index 7004ca71b6..60a32339d9 100644 --- a/src/libcharon/daemon.c +++ b/src/libcharon/daemon.c @@ -143,6 +143,7 @@ static void destroy(private_daemon_t *this) offsetof(file_logger_t, destroy)); this->public.sys_loggers->destroy_offset(this->public.sys_loggers, offsetof(sys_logger_t, destroy)); + free((void*)this->public.name); free(this); }