null pointer to avoid partial free in rare cases
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 29 Nov 2010 00:13:52 +0000 (00:13 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 29 Nov 2010 00:13:52 +0000 (00:13 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55046 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_con/ecore_con.c

index 23dd6c0..137a3b7 100644 (file)
@@ -1011,6 +1011,7 @@ ecore_con_client_del(Ecore_Con_Client *cl)
 
    if (cl->client_addr)
      free(cl->client_addr);
+   cl->client_addr = NULL;
 
    data = cl->data;
    cl->delete_me = EINA_TRUE;