diff options
author | ChunEon Park <hermet@hermet.pe.kr> | 2013-01-09 08:49:30 +0000 |
---|---|---|
committer | ChunEon Park <hermet@hermet.pe.kr> | 2013-01-09 08:49:30 +0000 |
commit | b2d0d7d58bdcee77345c0b2c5b0bee0d63c470fb (patch) | |
tree | b732807ed8aa6d5cb28574d3bc5e8fbfc9fe240e | |
parent | dce9d7b71078b126e6b733f367ae7635f3e5f4c4 (diff) | |
download | elementary-b2d0d7d58bdcee77345c0b2c5b0bee0d63c470fb.tar.gz |
elementary/map - fixed more insane free in map
SVN revision: 82443
-rw-r--r-- | src/lib/elm_map.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elm_map.c b/src/lib/elm_map.c index b14dc4fc8..e7a3d8dc1 100644 --- a/src/lib/elm_map.c +++ b/src/lib/elm_map.c @@ -209,9 +209,9 @@ _nominatim_url_cb(const Evas_Object *obj, "%s/search?q=%s&format=xml&polygon=0&addressdetails=0", NAME_NOMINATIM_URL, search_url); - if (str && str[0]) + if (str) { - free(str[0]); + if (str[0]) free(str[0]); free(str); } } @@ -2898,8 +2898,8 @@ _name_parse(Elm_Map_Name *n) { eina_simple_xml_parse (buf, sz, EINA_TRUE, _xml_name_dump_cb, &dump); - free(buf); } + free(buf); } } fclose(f); |