elementray1-7: Backport 81342
authorStefan Schmidt <stefan@datenfreihafen.org>
Fri, 21 Dec 2012 10:20:25 +0000 (10:20 +0000)
committerStefan Schmidt <stefan@datenfreihafen.org>
Fri, 21 Dec 2012 10:20:25 +0000 (10:20 +0000)
SVN revision: 81534

ChangeLog
NEWS
src/lib/elm_map.c

index 41b9d5cfaa220b6c4e93b816df688e18cc93bc4d..eff9238a99dbfde6588f46217a59e133baf70727 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 
 2012-12-18  Chueon Park (Hermet)
 
-       * Let image update right now if the image preloading is disabled.
\ No newline at end of file
+       * Let image update right now if the image preloading is disabled.
+
+2012-12-21  Stefan Schmidt
+
+       * Fix small memory leak in elm_map error path.
diff --git a/NEWS b/NEWS
index 22090b301c0a8bfe252ad90663ed63fe9619fc56..cd37463f04af542dd4072783cbd7188c688c7b43 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -14,6 +14,7 @@ Fixes:
    * Fix the naviframe to not have crash even if user deletes the naviframe in the transition finished cb.
    * Fix Don't elm_transit image animation use the image preloading to avoid image flickering.
    * Fix the image to show the image right now if the image preloading is disabled.
+   * Fix small memory leak in elm_map error path
 
 
 Elementary 1.7.3
index 48b3d338d9f7586e597ccdbc6258a7ba3dc9590b..40dccf69f546de75fa615dcc50eeff901d1a4618 100644 (file)
@@ -2946,6 +2946,8 @@ _kml_parse(Elm_Map_Route *r)
                          (buf, sz, EINA_TRUE, _xml_route_dump_cb, &dump);
                        free(buf);
                     }
+                  else
+                    free(buf);
                }
           }
         fclose(f);