reorder url complete calls to prevent invalid read
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 22 Feb 2012 05:46:40 +0000 (05:46 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 22 Feb 2012 05:46:40 +0000 (05:46 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@68246 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_con/ecore_con_url.c

index ed4e5ce..c49b85f 100644 (file)
@@ -1439,9 +1439,9 @@ _ecore_con_url_info_read(void)
                {
                   if (curlmsg->easy_handle == url_con->curl_easy)
                     {
+                       _ecore_con_url_event_url_complete(url_con, curlmsg);
                        _ecore_con_url_multi_remove(url_con);
                        _url_con_list = eina_list_remove_list(_url_con_list, l);
-                       _ecore_con_url_event_url_complete(url_con, curlmsg);
                     }
                }
         }