Revert "[Ecore] Memory leak fixed in Ecore Wayland" 95/127695/1
authorMinchul Lee <slotus.lee@samsung.com>
Fri, 28 Apr 2017 09:17:18 +0000 (18:17 +0900)
committerMinchul Lee <slotus.lee@samsung.com>
Fri, 28 Apr 2017 09:17:26 +0000 (18:17 +0900)
This reverts commit 08c45aa4a87fba4c1b32ecc14a09acdf2dcaa280.

Change-Id: I53ad4f9d84e963b0bbc6834cf7bac039bb04da61

src/lib/ecore_wayland/ecore_wl_dnd.c

index 39f59f3..7c2eb5b 100644 (file)
@@ -627,14 +627,6 @@ _ecore_wl_dnd_del(Ecore_Wl_Dnd_Source *source)
    if (source->refcount == 0)
      {
         wl_data_offer_destroy(source->data_offer);
-        // TIZEN_ONLY(20170306): Free the heap allocated content of wl_array
-        if (source->types.data)
-          {
-             char **t;
-             wl_array_for_each(t, &source->types)
-               free(*t);
-          }
-        //
         wl_array_release(&source->types);
         free(source);
      }