forked from enlightenment/efl
elementary/map - fixed more insane free in map
SVN revision: 82443
This commit is contained in:
parent
0b6a6dfc08
commit
244b790c58
|
@ -209,9 +209,9 @@ _nominatim_url_cb(const Evas_Object *obj,
|
||||||
"%s/search?q=%s&format=xml&polygon=0&addressdetails=0",
|
"%s/search?q=%s&format=xml&polygon=0&addressdetails=0",
|
||||||
NAME_NOMINATIM_URL, search_url);
|
NAME_NOMINATIM_URL, search_url);
|
||||||
|
|
||||||
if (str && str[0])
|
if (str)
|
||||||
{
|
{
|
||||||
free(str[0]);
|
if (str[0]) free(str[0]);
|
||||||
free(str);
|
free(str);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2898,8 +2898,8 @@ _name_parse(Elm_Map_Name *n)
|
||||||
{
|
{
|
||||||
eina_simple_xml_parse
|
eina_simple_xml_parse
|
||||||
(buf, sz, EINA_TRUE, _xml_name_dump_cb, &dump);
|
(buf, sz, EINA_TRUE, _xml_name_dump_cb, &dump);
|
||||||
free(buf);
|
|
||||||
}
|
}
|
||||||
|
free(buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
Loading…
Reference in New Issue