From 11530b355d06c4a8f022edfad970c0a172017fc4 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Fri, 24 Feb 2012 11:21:12 +0000 Subject: [PATCH] ecore: binbuf doesn't accept NULL (that's what EINA_ARG_NONNULL tell us...) SVN revision: 68403 --- legacy/ecore/src/lib/ecore_con/ecore_con.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con.c b/legacy/ecore/src/lib/ecore_con/ecore_con.c index 2213409421..99c47072e3 100644 --- a/legacy/ecore/src/lib/ecore_con/ecore_con.c +++ b/legacy/ecore/src/lib/ecore_con/ecore_con.c @@ -1323,7 +1323,7 @@ _ecore_con_client_free(Ecore_Con_Client *cl) if (cl->event_count) return; ECORE_MAGIC_SET(cl, ECORE_MAGIC_NONE); - eina_binbuf_free(cl->buf); + if (cl->buf) eina_binbuf_free(cl->buf); if (cl->host_server->type & ECORE_CON_SSL) ecore_con_ssl_client_shutdown(cl);