Free name of application using libcharon.
This commit is contained in:
1 parent
d3590016e9
commit
b3089ab74c
1 file changed
+1
@@ -143,6 +143,7 @@ static void destroy(private_daemon_t *this)
|
|||||||
offsetof(file_logger_t, destroy));
|
offsetof(file_logger_t, destroy));
|
||||||
this->public.sys_loggers->destroy_offset(this->public.sys_loggers,
|
this->public.sys_loggers->destroy_offset(this->public.sys_loggers,
|
||||||
offsetof(sys_logger_t, destroy));
|
offsetof(sys_logger_t, destroy));
|
||||||
|
free((void*)this->public.name);
|
||||||
free(this);
|
free(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user