* ecore_con_url: Fix mem leak.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 14 Aug 2009 11:33:33 +0000 (11:33 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 14 Aug 2009 11:33:33 +0000 (11:33 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@41758 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_con/ecore_con_url.c

index 8e094b8..c40d831 100644 (file)
@@ -571,9 +571,6 @@ ecore_con_url_send(Ecore_Con_Url *url_con, const void *data, size_t length, cons
 
    url_con->received = 0;
 
-   /* FIXME: Check if curl will leak memory or correctly destroy the headers */
-   url_con->headers = NULL;
-
    return _ecore_con_url_perform(url_con);
 #else
    return 0;