ecore_wl_dnd: correct wrong variable assignment
authorJongmin Lee <jm105.lee@samsung.com>
Thu, 19 Apr 2018 23:50:18 +0000 (08:50 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 20 Apr 2018 11:38:17 +0000 (20:38 +0900)
Change-Id: I86110206ec3abaacf8b001333be8f7f8e0e33200

src/lib/ecore_wayland/ecore_wl_dnd.c

index 48c121f..35760f8 100644 (file)
@@ -653,7 +653,7 @@ _ecore_wl_dnd_selection_data_receive(Ecore_Wl_Dnd_Source *source, const char *ty
    read_source = calloc(1, sizeof(struct _dnd_source));
    if (!read_source) goto err;
 
-   read_source = source;
+   read_source->source = source;
    read_source->read_fd = p[0];
    task->data = read_source;
    task->cb = _ecore_wl_dnd_selection_data_read;