If there is no icon resource dnd makes own rect view.
But there is no destroy for this rect.
Change-Id: Ib3552b57557608c9814b34d1acc711a16ad910a6
return 0;
}
e_drag_view_set(drag, e_view_rect_view_get(rect));
+ drag->rect = rect;
}
_drag_current = drag;
e_view_destroy(e_view_edje_view_get(drag->comp_edje));
drag->comp_edje = NULL;
}
+
+ if (drag->rect)
+ e_view_destroy(e_view_rect_view_get(drag->rect));
+
free(drag);
if (input_grab)
e_comp_ungrab_input(1, 1);
#include "e_intern.h"
#include "e_dnd.h"
#include "e_view_intern.h"
+#include "e_view_rect.h"
#include "e_view_edje_intern.h"
#include "e_seat_intern.h"
} cb;
E_Seat *seat;
E_View *view;
+ E_View_Rect *rect;
E_View_Edje *comp_edje;
int x, y, w, h;