[map] Fixes as part of EFL verification
authorRajesh PS <rajeshps@samsung.com>
Wed, 22 May 2013 09:06:00 +0000 (14:36 +0530)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 05:14:00 +0000 (14:14 +0900)
* Set the timers, idlers, animators to NULL after use
* [Patch2] As per review comments removed unnecessary code

Change-Id: I72f19421ea1abc960a6fd9f40d6d62db4720859e

src/lib/elm_map.c

index b7488c0..f54ac44 100644 (file)
@@ -3696,7 +3696,10 @@ _map_pan_del(Evas_Object *obj)
         sd->zoom_animator = NULL;
      }
    _grid_all_clear(sd);
-   if (sd->download_idler) ecore_idler_del(sd->download_idler);
+   if (sd->download_idler) 
+    {   ecore_idler_del(sd->download_idler);
+        sd->download_idler = NULL;
+    }
    if (sd->download_list) eina_list_free(sd->download_list);
 
    {