elementary: Fix memory leak in elm_list
authorSubhransu Mohanty <smohantty@gmail.com>
Wed, 27 May 2020 04:47:42 +0000 (13:47 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Mon, 1 Jun 2020 04:45:20 +0000 (13:45 +0900)
Change-Id: Ica703e4487b47f3724a229724941b4b8269db7fc

src/lib/elementary/elm_list.c

index 20b380b..bfc6044 100644 (file)
@@ -1073,6 +1073,8 @@ _items_fix(Evas_Object *obj)
    //focus highlight in_theme is set by list item theme.
    _elm_widget_item_highlight_in_theme(
          obj, elm_list_first_item_get(obj));
+
+   eina_array_flush(&walk);
 }
 
 static void