diff options
Diffstat (limited to 'src/espik_config.c')
-rw-r--r-- | src/espik_config.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/espik_config.c b/src/espik_config.c index 168dfbf..6d6fc67 100644 --- a/src/espik_config.c +++ b/src/espik_config.c @@ -106,6 +106,21 @@ void espik_config_init () espik_leave(); } +void espik_config_shutdown (t_info *s_info) +{ + free (s_info->server->host); +// free (s_info->server->port); + free (s_info->server); + free (s_info->client->nickname); + free (s_info->client->username); + free (s_info->client->realname); + free (s_info->client); +// free (s_info); + + ecore_config_save(); + ecore_config_shutdown(); +} + void espik_config_get (t_info *s_info) { espik_enter(); |