aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/daemon.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-05-15 11:37:07 +0200
committerTobias Brunner <tobias@strongswan.org>2012-05-15 11:37:07 +0200
commitb3089ab74c6090970a4bb6334725f47ce7dc362b (patch)
tree33ff695d60b6ba8e32767622cefaaa7c7decf72c /src/libcharon/daemon.c
parentd3590016e943137a06e42bb0b4d32d6360b4a3af (diff)
downloadstrongswan-b3089ab74c6090970a4bb6334725f47ce7dc362b.tar.bz2
strongswan-b3089ab74c6090970a4bb6334725f47ce7dc362b.tar.xz
Free name of application using libcharon.
Diffstat (limited to 'src/libcharon/daemon.c')
-rw-r--r--src/libcharon/daemon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcharon/daemon.c b/src/libcharon/daemon.c
index 7004ca71b..60a32339d 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);
}