summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore_x/xlib/ecore_x_dnd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/ecore_x/xlib/ecore_x_dnd.c b/src/lib/ecore_x/xlib/ecore_x_dnd.c
index 8bbbab4..cd2ec14 100644
--- a/src/lib/ecore_x/xlib/ecore_x_dnd.c
+++ b/src/lib/ecore_x/xlib/ecore_x_dnd.c
@@ -230,10 +230,7 @@ ecore_x_dnd_type_isset(Ecore_X_Window win,
230 LOGFN(__FILE__, __LINE__, __FUNCTION__); 230 LOGFN(__FILE__, __LINE__, __FUNCTION__);
231 if (!ecore_x_window_prop_property_get(win, ECORE_X_ATOM_XDND_TYPE_LIST, 231 if (!ecore_x_window_prop_property_get(win, ECORE_X_ATOM_XDND_TYPE_LIST,
232 XA_ATOM, 32, &data, &num)) 232 XA_ATOM, 32, &data, &num))
233 { 233 return ret;
234 if (data) free(data);
235 return ret;
236 }
237 234
238 atom = ecore_x_atom_get(type); 235 atom = ecore_x_atom_get(type);
239 atoms = (Ecore_X_Atom *)data; 236 atoms = (Ecore_X_Atom *)data;