aboutsummaryrefslogtreecommitdiff
path: root/src/espik.c
diff options
context:
space:
mode:
authorBertrand Jacquin (Beber) <beber@setibzh.com>2006-01-19 02:15:17 +0100
committerBertrand Jacquin (Beber) <beber@setibzh.com>2006-01-19 02:15:17 +0100
commit6786da4ad18be0a77f2ebc5e53c2de831f9b1291 (patch)
tree5f7e00897f57768c8e81ffb01dd3d5e4544faa18 /src/espik.c
parentDo not send USER NICK while server does't speak to us (diff)
downloadespik-6786da4ad18be0a77f2ebc5e53c2de831f9b1291.tar.xz
more free ! valgrind is not happy !
ecore_main_loop_quit at the right place Use right memory size
Diffstat (limited to 'src/espik.c')
-rw-r--r--src/espik.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/espik.c b/src/espik.c
index f1d55dd..45b4dd7 100644
--- a/src/espik.c
+++ b/src/espik.c
@@ -122,28 +122,26 @@ int main (int argc, char **argv)
ecore_con_server_del (con_sock);
*/
- free (a_infos.server->host);
- free (a_infos.server);
+// free (a_infos.server->host);
+// free (a_infos.server);
/*
free (a_infos.client->nickname);
free (a_infos.client->username);
free (a_infos.client->realname);
*/
- free (a_infos.client);
+// free (a_infos.client);
- /*
- ecore_main_loop_quit ();
- */
espik_debug_print ("end");
- ecore_config_shutdown ();
+ espik_config_shutdown (&a_infos);
/*
espik_con_shutdown ();
*/
+ ecore_main_loop_quit ();
ecore_shutdown ();
//espik_leave();