summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elm_cnp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index 97696a40e..5d02dcce0 100644
--- a/src/lib/elm_cnp.c
+++ b/src/lib/elm_cnp.c
@@ -2775,7 +2775,7 @@ _wl_dropable_data_handle(Wl_Cnp_Selection *sel, char *data)
2775 sdata.data = entrytag; 2775 sdata.data = entrytag;
2776 drop->dropcb(drop->cbdata, drop->obj, &sdata); 2776 drop->dropcb(drop->cbdata, drop->obj, &sdata);
2777 ecore_wl_dnd_drag_end(ecore_wl_input_get()); 2777 ecore_wl_dnd_drag_end(ecore_wl_input_get());
2778 if (savedtypes.imgfile) free(savedtypes.imgfile); 2778 free(savedtypes.imgfile);
2779 savedtypes.imgfile = NULL; 2779 savedtypes.imgfile = NULL;
2780 } 2780 }
2781 else if (drop->types & ELM_SEL_FORMAT_IMAGE) 2781 else if (drop->types & ELM_SEL_FORMAT_IMAGE)
@@ -2784,7 +2784,7 @@ _wl_dropable_data_handle(Wl_Cnp_Selection *sel, char *data)
2784 sdata.data = (char *)savedtypes.imgfile; 2784 sdata.data = (char *)savedtypes.imgfile;
2785 drop->dropcb(drop->cbdata, drop->obj, &sdata); 2785 drop->dropcb(drop->cbdata, drop->obj, &sdata);
2786 ecore_wl_dnd_drag_end(ecore_wl_input_get()); 2786 ecore_wl_dnd_drag_end(ecore_wl_input_get());
2787 if (savedtypes.imgfile) free(savedtypes.imgfile); 2787 free(savedtypes.imgfile);
2788 savedtypes.imgfile = NULL; 2788 savedtypes.imgfile = NULL;
2789 } 2789 }
2790} 2790}