elementary/map - fixed memory leak
authorChunEon Park <hermet@hermet.pe.kr>
Wed, 9 Jan 2013 08:40:56 +0000 (08:40 +0000)
committerChunEon Park <hermet@hermet.pe.kr>
Wed, 9 Jan 2013 08:40:56 +0000 (08:40 +0000)
SVN revision: 82442

legacy/elementary/src/lib/elm_map.c

index 97ffccc..b14dc4f 100644 (file)
@@ -2807,8 +2807,8 @@ _kml_parse(Elm_Map_Route *r)
                     {
                        eina_simple_xml_parse
                          (buf, sz, EINA_TRUE, _xml_route_dump_cb, &dump);
-                       free(buf);
                     }
+                  free(buf);
                }
           }
         fclose(f);